Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.00125, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.2 kB / 306.3 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1444, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003563/0.148, allocations: 2.115 MB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1492, allocations: 0.6506 MB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.1493, allocations: 0 / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.196e-05/0.1494, allocations: 19.91 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.1496, allocations: 35.7 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1499, allocations: 95.33 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1501, allocations: 175.3 kB / 359.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1503, allocations: 37.53 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.1505, allocations: 91.69 kB / 360 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.1506, allocations: 75.62 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1507, allocations: 8 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.1507, allocations: 20 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.1508, allocations: 35.83 kB / 360.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.1509, allocations: 67.59 kB / 360.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1511, allocations: 179.6 kB / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1511, allocations: 0 / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1511, allocations: 0 / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1512, allocations: 0 / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008213/0.152, allocations: 481.4 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.152, allocations: 8.031 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/0.1525, allocations: 52.72 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1527, allocations: 231.4 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1527, allocations: 8.375 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1528, allocations: 4.375 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1531, allocations: 164.3 kB / 361.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1531, allocations: 0 / 361.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1532, allocations: 4 kB / 361.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1532, allocations: 4 kB / 361.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.1535, allocations: 91.94 kB / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1547, allocations: 0.5032 MB / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.155, allocations: 106.5 kB / 362 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1552, allocations: 64.83 kB / 362.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1553, allocations: 4 kB / 362.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1553, allocations: 42.44 kB / 362.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1553, allocations: 4 kB / 362.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005099/0.1558, allocations: 145.5 kB / 362.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.156, allocations: 110.8 kB / 362.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1561, allocations: 156.7 kB / 362.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1562, allocations: 29.7 kB / 362.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1562, allocations: 119.9 kB / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1563, allocations: 27.56 kB / 362.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.1563, allocations: 37.69 kB / 362.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1565, allocations: 318.8 kB / 363 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1566, allocations: 43.98 kB / 363.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1568, allocations: 72.27 kB / 363.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.157, allocations: 102.8 kB / 363.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.157, allocations: 0 / 363.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003506/0.1574, allocations: 149.5 kB / 363.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1574, allocations: 11.94 kB / 363.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1574, allocations: 4.031 kB / 363.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1575, allocations: 0 / 363.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.1581, allocations: 79.92 kB / 363.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.1598, allocations: 1.409 MB / 364.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1601, allocations: 20.08 kB / 364.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1601, allocations: 7.984 kB / 364.9 MB, free: 5.938 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1603, allocations: 129.7 kB / 365.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.1604, allocations: 7.906 kB / 365.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.1611, allocations: 163.1 kB / 365.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1611, allocations: 0 / 365.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.1611, allocations: 0 / 365.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1611, allocations: 4 kB / 365.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.1622, allocations: 467.9 kB / 365.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1622, allocations: 3.938 kB / 365.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.1624, allocations: 27.91 kB / 365.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.1628, allocations: 40.77 kB / 365.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1628, allocations: 0 / 365.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.1643, allocations: 1.289 MB / 367 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1644, allocations: 8.094 kB / 367.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.1652, allocations: 296.9 kB / 367.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.1653, allocations: 85.05 kB / 367.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.1653, allocations: 4 kB / 367.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.1656, allocations: 15.98 kB / 367.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.1657, allocations: 7.984 kB / 367.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1657, allocations: 8 kB / 367.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1659, allocations: 127.5 kB / 367.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1659, allocations: 0 / 367.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.1664, allocations: 47.78 kB / 367.6 MB, free: 2.977 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001811/0.1666, allocations: 110.3 kB / 367.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.1676, allocations: 132 kB / 367.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1676, allocations: 0 / 367.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.1681, allocations: 162.6 kB / 368 MB, free: 2.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1685, allocations: 16.06 kB / 368 MB, free: 2.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1708, allocations: 0.5702 MB / 368.6 MB, free: 1.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1712, allocations: 0.716 MB / 369.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.1713, allocations: 12.55 kB / 369.3 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.1714, allocations: 11.44 kB / 369.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1714, allocations: 0 / 369.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of Templates: time 0.2121/0.3835, allocations: 1.525 MB / 370.9 MB, free: 19.62 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches