Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009679/0.000968, allocations: 97.58 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 45.91 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 63.47 MB / 481.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002335/0.1563, allocations: 1.541 MB / 482.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.1573, allocations: 0.5381 MB / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.1574, allocations: 0 / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.1574, allocations: 11.92 kB / 483.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1576, allocations: 43.84 kB / 483.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1579, allocations: 67.84 kB / 483.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.158, allocations: 91.8 kB / 483.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1582, allocations: 29.05 kB / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1584, allocations: 63.81 kB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1585, allocations: 59.75 kB / 483.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1585, allocations: 8 kB / 483.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.1586, allocations: 8 kB / 483.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.1586, allocations: 27.89 kB / 483.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1586, allocations: 45.7 kB / 483.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1588, allocations: 96 kB / 484 MB, free: 2.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1588, allocations: 0 / 484 MB, free: 2.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1588, allocations: 3.938 kB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1588, allocations: 3.938 kB / 484 MB, free: 2.793 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007667/0.1596, allocations: 442.8 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1596, allocations: 8.031 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.1599, allocations: 47.88 kB / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1601, allocations: 186.9 kB / 484.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1602, allocations: 4 kB / 484.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1602, allocations: 8 kB / 484.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1605, allocations: 146.2 kB / 484.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1605, allocations: 0 / 484.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1606, allocations: 4 kB / 484.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1606, allocations: 4 kB / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1609, allocations: 103.9 kB / 485 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.1618, allocations: 463.3 kB / 485.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.1621, allocations: 102.5 kB / 485.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1621, allocations: 0 / 485.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1621, allocations: 34.5 kB / 485.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.1621, allocations: 3.984 kB / 485.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001398/0.1636, allocations: 357.4 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.1637, allocations: 110.8 kB / 486 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1638, allocations: 149.7 kB / 486.1 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.1639, allocations: 29.7 kB / 486.2 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.164, allocations: 108.1 kB / 486.3 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.164, allocations: 19.75 kB / 486.3 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.164, allocations: 0 / 486.3 MB, free: 288 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1642, allocations: 322.8 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1644, allocations: 67.95 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1647, allocations: 112.2 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.165, allocations: 71.94 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.165, allocations: 4 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005662/0.1655, allocations: 197.3 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.1656, allocations: 11.98 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1656, allocations: 0 / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.214e-05/0.1657, allocations: 4 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.1663, allocations: 95.91 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1683, allocations: 1.398 MB / 488.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1686, allocations: 36.22 kB / 488.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1686, allocations: 4 kB / 488.6 MB, free: 13.81 MB / 366.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1688, allocations: 130.3 kB / 488.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.1688, allocations: 7.906 kB / 488.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.1694, allocations: 186.3 kB / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1694, allocations: 4 kB / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1694, allocations: 0 / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1694, allocations: 0 / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.1703, allocations: 494.2 kB / 489.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1703, allocations: 4 kB / 489.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.1705, allocations: 36.03 kB / 489.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1705, allocations: 0 / 489.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1705, allocations: 0 / 489.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1705, allocations: 0 / 489.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1706, allocations: 0 / 489.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.1711, allocations: 279.2 kB / 489.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.1712, allocations: 89.02 kB / 489.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1712, allocations: 0 / 489.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1714, allocations: 31.97 kB / 489.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1715, allocations: 7.984 kB / 489.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1715, allocations: 0 / 489.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.1716, allocations: 117.3 kB / 490 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1716, allocations: 0 / 490 MB, free: 12.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1719, allocations: 28 kB / 490 MB, free: 12.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.172, allocations: 99.48 kB / 490.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.1729, allocations: 199.9 kB / 490.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1729, allocations: 0 / 490.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1732, allocations: 76.42 kB / 490.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1734, allocations: 11.98 kB / 490.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1748, allocations: 432.1 kB / 490.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1752, allocations: 0.7004 MB / 491.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.726e-05/0.1752, allocations: 16.61 kB / 491.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.1753, allocations: 11.44 kB / 491.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1753, allocations: 3.938 kB / 491.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004325/0.1796, allocations: 1.473 MB / 493 MB, free: 9.266 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches