Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001818, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002534/0.002534, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.683/1.683, allocations: 227.4 MB / 246.9 MB, free: 8.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 76.59 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1594, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.004407/0.1638, allocations: 1.799 MB / 481.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.1641, allocations: 71.73 kB / 481.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.1643, allocations: 3.938 kB / 481.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.694e-05/0.1644, allocations: 11.92 kB / 481.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1645, allocations: 19.84 kB / 481.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.1647, allocations: 19.98 kB / 481.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1649, allocations: 95.59 kB / 481.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1651, allocations: 52.28 kB / 482 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.1652, allocations: 35.86 kB / 482 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1653, allocations: 43.84 kB / 482.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1654, allocations: 8 kB / 482.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.767e-05/0.1654, allocations: 11.94 kB / 482.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1655, allocations: 23.92 kB / 482.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1656, allocations: 51.73 kB / 482.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1658, allocations: 96.03 kB / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1658, allocations: 0 / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1658, allocations: 0 / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1658, allocations: 0 / 482.3 MB, free: 3.348 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007599/0.1666, allocations: 395.5 kB / 482.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1666, allocations: 12.03 kB / 482.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.1667, allocations: 12.75 kB / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1669, allocations: 172.3 kB / 482.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1669, allocations: 8.609 kB / 482.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1669, allocations: 12.38 kB / 482.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.1673, allocations: 129.5 kB / 483 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1673, allocations: 4.172 kB / 483 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.1673, allocations: 11.94 kB / 483 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1674, allocations: 8 kB / 483 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1676, allocations: 63.91 kB / 483.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1688, allocations: 0.7197 MB / 483.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1689, allocations: 173.1 kB / 484 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.169, allocations: 80.14 kB / 484 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.169, allocations: 75.28 kB / 484.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.1691, allocations: 113.8 kB / 484.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.1691, allocations: 0 / 484.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001147/0.1692, allocations: 37.61 kB / 484.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.1693, allocations: 130.6 kB / 484.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1695, allocations: 148 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1696, allocations: 25.7 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.1697, allocations: 127.5 kB / 484.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-06/0.1697, allocations: 7.984 kB / 484.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.1698, allocations: 17.72 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1699, allocations: 318.8 kB / 485 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.17, allocations: 7.984 kB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.17, allocations: 45.09 kB / 485.1 MB, free: 280 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.1702, allocations: 57.09 kB / 485.1 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1702, allocations: 0 / 485.1 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002329/0.1704, allocations: 77.47 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1704, allocations: 8 kB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1705, allocations: 0 / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1705, allocations: 3.984 kB / 485.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1706, allocations: 15.94 kB / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1706, allocations: 0 / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1707, allocations: 7.938 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1707, allocations: 7.938 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.1709, allocations: 193.3 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.171, allocations: 116.8 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.123e-05/0.1711, allocations: 112.8 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-05/0.1712, allocations: 176.3 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.728e-05/0.1713, allocations: 180.2 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.623e-05/0.1714, allocations: 180.3 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1718, allocations: 449.1 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/0.1719, allocations: 105 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.1719, allocations: 113 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.944e-05/0.172, allocations: 176.3 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.1721, allocations: 176.3 kB / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.119e-05/0.1722, allocations: 184.2 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.082e-05/0.1723, allocations: 188.2 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1725, allocations: 307.6 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1727, allocations: 190 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1728, allocations: 184.2 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1729, allocations: 105 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.1731, allocations: 184.2 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.1731, allocations: 104.9 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1733, allocations: 115.2 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1733, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.1738, allocations: 19.94 kB / 488.7 MB, free: 12.37 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.1739, allocations: 171.1 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1741, allocations: 19.94 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1741, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1741, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.1747, allocations: 0.5289 MB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.1753, allocations: 305.8 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1757, allocations: 0.7004 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1757, allocations: 11.38 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1758, allocations: 0 / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Templates: time 0.003175/0.1789, allocations: 0.8368 MB / 491.3 MB, free: 9.734 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches