Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008876, allocations: 91.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009644/0.0009646, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 5.281 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 61.92 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002491/0.1524, allocations: 1.424 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.1527, allocations: 79.7 kB / 473.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1529, allocations: 4 kB / 473.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.661e-05/0.153, allocations: 11.86 kB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1531, allocations: 19.84 kB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1533, allocations: 19.98 kB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1535, allocations: 99.59 kB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.1538, allocations: 40.3 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.1539, allocations: 35.86 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1541, allocations: 43.78 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1541, allocations: 4 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.1542, allocations: 11.94 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.1542, allocations: 11.92 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1543, allocations: 77.45 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1545, allocations: 111.9 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1545, allocations: 0 / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1545, allocations: 0 / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1546, allocations: 0 / 474.2 MB, free: 11.36 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.0007573/0.1553, allocations: 379.5 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.13e-05/0.1554, allocations: 12.03 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.1555, allocations: 12.75 kB / 474.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1558, allocations: 180.2 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1558, allocations: 12.61 kB / 474.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1558, allocations: 12.38 kB / 474.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.1562, allocations: 125.5 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1562, allocations: 192 / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1562, allocations: 11.94 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1563, allocations: 4 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1564, allocations: 59.92 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1577, allocations: 0.7392 MB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1578, allocations: 173.1 kB / 475.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.1579, allocations: 80.14 kB / 476 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.1579, allocations: 75.28 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.158, allocations: 105.8 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.158, allocations: 0 / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001037/0.1581, allocations: 41.55 kB / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.1582, allocations: 126.7 kB / 476.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1584, allocations: 141.8 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1584, allocations: 29.7 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.1585, allocations: 127.5 kB / 476.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.1585, allocations: 4 kB / 476.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1585, allocations: 9.719 kB / 476.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1587, allocations: 330.8 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.1587, allocations: 4 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.1588, allocations: 37.16 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.1589, allocations: 61.08 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1589, allocations: 0 / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001977/0.1591, allocations: 69.56 kB / 477.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.1592, allocations: 8 kB / 477.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1592, allocations: 3.938 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1592, allocations: 8.188 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.1593, allocations: 8 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1593, allocations: 3.984 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.1594, allocations: 15.78 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1594, allocations: 7.938 kB / 477.2 MB, free: 8.098 MB / 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.0001758/0.1596, allocations: 193.7 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.1597, allocations: 116.8 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.1598, allocations: 116.8 kB / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/0.1599, allocations: 180.2 kB / 477.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001283/0.16, allocations: 180.2 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-05/0.1601, allocations: 180.3 kB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.1604, allocations: 445.1 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.1605, allocations: 105 kB / 478.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.1605, allocations: 108.9 kB / 478.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.055e-05/0.1606, allocations: 176.3 kB / 479 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.1606, allocations: 176.3 kB / 479.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.741e-05/0.1607, allocations: 192.2 kB / 479.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.424e-05/0.1608, allocations: 176.3 kB / 479.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1609, allocations: 311.6 kB / 479.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.161, allocations: 190.1 kB / 480 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.1611, allocations: 180.2 kB / 480.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.1612, allocations: 101 kB / 480.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.1613, allocations: 188.2 kB / 480.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.1613, allocations: 105 kB / 480.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.379e-05/0.1614, allocations: 121.4 kB / 480.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1614, allocations: 0 / 480.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1617, allocations: 19.84 kB / 480.7 MB, free: 4.391 MB / 350.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.0001263/0.1618, allocations: 166.5 kB / 480.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.1619, allocations: 24.17 kB / 480.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1619, allocations: 4.125 kB / 480.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.1619, allocations: 0 / 480.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1624, allocations: 0.5263 MB / 481.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.1628, allocations: 288.2 kB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1631, allocations: 0.6965 MB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.1632, allocations: 0 / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.1632, allocations: 15.44 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1632, allocations: 0 / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Templates: time 0.002913/0.1661, allocations: 389.2 kB / 482.8 MB, free: 2.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches