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.00118/0.00118, 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.001266/0.001266, 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.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 76.34 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1513, allocations: 62.44 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003259/0.1546, allocations: 1.792 MB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.1548, allocations: 79.67 kB / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.1549, allocations: 0 / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.123e-05/0.155, allocations: 19.91 kB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.1551, allocations: 15.84 kB / 481.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.518e-05/0.1552, allocations: 16 kB / 481.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1553, allocations: 99.59 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1555, allocations: 52.27 kB / 481.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.1555, allocations: 39.86 kB / 481.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.1556, allocations: 43.78 kB / 481.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1556, allocations: 8 kB / 481.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.1557, allocations: 8 kB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.1557, allocations: 23.92 kB / 481.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.1558, allocations: 47.78 kB / 481.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1559, allocations: 115.9 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1559, allocations: 4 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1559, allocations: 0 / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1559, allocations: 0 / 481.6 MB, free: 3.355 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.0005064/0.1565, allocations: 395.5 kB / 482 MB, free: 2.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1565, allocations: 8.031 kB / 482 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1565, allocations: 16.75 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1567, allocations: 168.3 kB / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1567, allocations: 12.61 kB / 482.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1567, allocations: 8.375 kB / 482.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.157, allocations: 135.4 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.157, allocations: 4.125 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.157, allocations: 7.938 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1571, allocations: 4 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1572, allocations: 59.97 kB / 482.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.1581, allocations: 0.7274 MB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.1582, allocations: 169.1 kB / 483.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.1582, allocations: 80.14 kB / 483.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1583, allocations: 75.28 kB / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.1583, allocations: 113.8 kB / 483.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.1583, allocations: 4 kB / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.102e-05/0.1584, allocations: 33.59 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1585, allocations: 134.7 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1586, allocations: 145.8 kB / 483.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1587, allocations: 25.7 kB / 483.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.1587, allocations: 127.5 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.1588, allocations: 3.984 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1588, allocations: 21.72 kB / 484.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1589, allocations: 318.8 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.1589, allocations: 7.984 kB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.159, allocations: 49.09 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.1591, allocations: 53.09 kB / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1591, allocations: 0 / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000148/0.1592, allocations: 77.47 kB / 484.6 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1592, allocations: 4 kB / 484.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1593, allocations: 0 / 484.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1593, allocations: 7.984 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1594, allocations: 12.19 kB / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1594, allocations: 4 kB / 484.6 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1594, allocations: 8.062 kB / 484.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1594, allocations: 11.88 kB / 484.6 MB, free: 84 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.0001848/0.1596, allocations: 193.2 kB / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.1597, allocations: 108.9 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.1598, allocations: 116.8 kB / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.128e-05/0.1599, allocations: 180.3 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.712e-05/0.1599, allocations: 180.3 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.378e-05/0.16, allocations: 192.2 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.1603, allocations: 437.1 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-05/0.1604, allocations: 108.9 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.1604, allocations: 101 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-05/0.1605, allocations: 180.3 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/0.1606, allocations: 184.2 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.335e-05/0.1607, allocations: 180.3 kB / 486.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.097e-05/0.1607, allocations: 184.2 kB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1609, allocations: 315.6 kB / 487.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.161, allocations: 186 kB / 487.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/0.1611, allocations: 184.2 kB / 487.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.1612, allocations: 104.9 kB / 487.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.1613, allocations: 176.3 kB / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.1613, allocations: 104.9 kB / 488 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1614, allocations: 125.4 kB / 488.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1614, allocations: 3.938 kB / 488.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1617, allocations: 15.94 kB / 488.1 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.0001341/0.1619, allocations: 167.1 kB / 488.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.162, allocations: 19.94 kB / 488.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.162, allocations: 4.312 kB / 488.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.162, allocations: 4 kB / 488.3 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.0004748/0.1625, allocations: 0.5264 MB / 488.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.1629, allocations: 283.9 kB / 489.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1632, allocations: 0.6965 MB / 489.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.692e-05/0.1633, allocations: 4 kB / 489.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.1633, allocations: 7.438 kB / 489.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1633, allocations: 4 kB / 489.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Templates: time 0.002673/0.166, allocations: 397 kB / 490.2 MB, free: 10.22 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