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.0009718/0.0009715, allocations: 98.45 kB / 17 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.0011/0.0011, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.4 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 4.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 63.57 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001985/0.1606, allocations: 1.403 MB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.1608, allocations: 71.67 kB / 483.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.1609, allocations: 7.938 kB / 483.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.1609, allocations: 11.91 kB / 483.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.161, allocations: 19.84 kB / 483.9 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.069e-05/0.1611, allocations: 19.98 kB / 483.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1612, allocations: 91.59 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1614, allocations: 44.28 kB / 484.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.1615, allocations: 35.86 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.1616, allocations: 39.78 kB / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1616, allocations: 8 kB / 484.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.1616, allocations: 4 kB / 484.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.1616, allocations: 19.92 kB / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1617, allocations: 45.64 kB / 484.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1618, allocations: 92.02 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1618, allocations: 0 / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1618, allocations: 0 / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1618, allocations: 0 / 484.3 MB, free: 2.598 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.0005093/0.1623, allocations: 385.6 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1624, allocations: 8.031 kB / 484.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.1624, allocations: 15.81 kB / 484.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1626, allocations: 171 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1627, allocations: 12.17 kB / 484.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1627, allocations: 12 kB / 484.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.163, allocations: 126.9 kB / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.163, allocations: 0 / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.163, allocations: 4 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.163, allocations: 4 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1632, allocations: 59.97 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/0.1641, allocations: 0.7274 MB / 485.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.629e-05/0.1642, allocations: 169.1 kB / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1642, allocations: 84.14 kB / 486.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1643, allocations: 75.28 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/0.1643, allocations: 105.8 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1643, allocations: 4 kB / 486.2 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.958e-05/0.1644, allocations: 37.59 kB / 486.3 MB, free: 440 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.1645, allocations: 134.6 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1646, allocations: 142 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1647, allocations: 25.7 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1648, allocations: 119.7 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.1648, allocations: 4 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1648, allocations: 3.938 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1649, allocations: 318.8 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.165, allocations: 8 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.165, allocations: 49.08 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.1651, allocations: 15.94 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1651, allocations: 4 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001631/0.1652, allocations: 73.47 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1653, allocations: 6.5 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1653, allocations: 4 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1653, allocations: 0 / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.1654, allocations: 11.94 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1654, allocations: 12.12 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.1654, allocations: 15.84 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1655, allocations: 4 kB / 487.2 MB, free: 15.43 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.1656, allocations: 193.7 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.1657, allocations: 112.8 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.1657, allocations: 104.9 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.691e-05/0.1658, allocations: 184.2 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.725e-05/0.1659, allocations: 192.2 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-05/0.166, allocations: 180.2 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1663, allocations: 437.1 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/0.1664, allocations: 105 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1664, allocations: 101.1 kB / 488.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-05/0.1665, allocations: 192.2 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.1666, allocations: 184.3 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.141e-05/0.1667, allocations: 180.2 kB / 489.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.307e-05/0.1668, allocations: 176.3 kB / 489.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.167, allocations: 319.7 kB / 489.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1671, allocations: 182 kB / 490 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.465e-05/0.1672, allocations: 184.2 kB / 490.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1673, allocations: 101 kB / 490.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.1674, allocations: 184.2 kB / 490.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.1674, allocations: 109 kB / 490.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.17e-05/0.1675, allocations: 107.3 kB / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1675, allocations: 0 / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000313/0.1678, allocations: 15.91 kB / 490.7 MB, free: 11.74 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 (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.0001515/0.168, allocations: 170.5 kB / 490.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.099e-05/0.1681, allocations: 19.92 kB / 490.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1681, allocations: 0 / 490.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-06/0.1681, allocations: 384 / 490.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1685, allocations: 0.534 MB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.1689, allocations: 276.3 kB / 491.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1693, allocations: 0.6926 MB / 492.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.1693, allocations: 7.922 kB / 492.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.1693, allocations: 11.44 kB / 492.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1693, allocations: 0 / 492.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of Templates: time 0.00249/0.1718, allocations: 376.5 kB / 492.7 MB, free: 9.605 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches