Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002314/0.002314, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.242/0.242, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 79.88 kB / 0.4923 GB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1504, allocations: 66 MB / 0.5568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003603/0.154, allocations: 1.728 MB / 0.5585 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.1542, allocations: 83.7 kB / 0.5586 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.1543, allocations: 4 kB / 0.5586 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.97e-05/0.1543, allocations: 15.86 kB / 0.5586 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.1544, allocations: 23.72 kB / 0.5586 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.705e-05/0.1545, allocations: 23.97 kB / 0.5586 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1547, allocations: 99.59 kB / 0.5587 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1549, allocations: 50.38 kB / 0.5588 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.1549, allocations: 39.86 kB / 0.5588 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1551, allocations: 47.78 kB / 0.5588 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.1551, allocations: 12 kB / 0.5589 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.1551, allocations: 12 kB / 0.5589 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.1551, allocations: 23.92 kB / 0.5589 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.1552, allocations: 51.8 kB / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1554, allocations: 119.5 kB / 0.5591 GB, free: 3.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1554, allocations: 4 kB / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1554, allocations: 0 / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1554, allocations: 0 / 0.5591 GB, free: 3.613 MB / 414.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.0006229/0.156, allocations: 399.3 kB / 0.5594 GB, free: 3.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1561, allocations: 8.031 kB / 0.5594 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1561, allocations: 20.84 kB / 0.5595 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1563, allocations: 168.3 kB / 0.5596 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1563, allocations: 12.61 kB / 0.5596 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1563, allocations: 8.375 kB / 0.5596 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1566, allocations: 133.6 kB / 0.5598 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1566, allocations: 192 / 0.5598 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1566, allocations: 3.938 kB / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1566, allocations: 4 kB / 0.5598 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1568, allocations: 63.91 kB / 0.5598 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.1577, allocations: 0.7275 MB / 0.5605 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1578, allocations: 169.1 kB / 0.5607 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.1579, allocations: 84.14 kB / 0.5608 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.1579, allocations: 75.28 kB / 0.5609 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.158, allocations: 113.8 kB / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.158, allocations: 0 / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.394e-05/0.1581, allocations: 33.64 kB / 0.561 GB, free: 1.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.1582, allocations: 130.7 kB / 0.5611 GB, free: 1.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1583, allocations: 161.4 kB / 0.5613 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1584, allocations: 25.7 kB / 0.5613 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.1584, allocations: 115.9 kB / 0.5614 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-06/0.1585, allocations: 7.984 kB / 0.5614 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1585, allocations: 21.67 kB / 0.5614 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1586, allocations: 314.8 kB / 0.5617 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.1587, allocations: 11.98 kB / 0.5618 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.1587, allocations: 45.28 kB / 0.5618 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.1588, allocations: 61.03 kB / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1588, allocations: 0 / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000171/0.159, allocations: 73.56 kB / 0.5619 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.159, allocations: 8 kB / 0.5619 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.159, allocations: 0 / 0.5619 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.159, allocations: 3.984 kB / 0.5619 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.1591, allocations: 12 kB / 0.562 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1591, allocations: 192 / 0.562 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.1592, allocations: 15.89 kB / 0.562 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1592, allocations: 7.938 kB / 0.562 GB, free: 336 kB / 414.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.0001387/0.1593, allocations: 193.1 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.1594, allocations: 108.9 kB / 0.5623 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-05/0.1595, allocations: 120.6 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.846e-05/0.1596, allocations: 184.2 kB / 0.5626 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/0.1597, allocations: 180.3 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-05/0.1598, allocations: 180.3 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.1601, allocations: 445.1 kB / 0.5633 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.584e-05/0.1602, allocations: 112.9 kB / 0.5634 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.1602, allocations: 101 kB / 0.5635 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.1604, allocations: 180.3 kB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.1604, allocations: 180.2 kB / 0.5639 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.763e-05/0.1605, allocations: 184.2 kB / 0.564 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.988e-05/0.1606, allocations: 184.2 kB / 0.5642 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1608, allocations: 311.7 kB / 0.5645 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.161, allocations: 194 kB / 0.5647 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.1611, allocations: 180.2 kB / 0.5649 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1612, allocations: 104.9 kB / 0.565 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1613, allocations: 184.2 kB / 0.5652 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.1614, allocations: 108.9 kB / 0.5653 GB, free: 12.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1615, allocations: 121.4 kB / 0.5654 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1615, allocations: 3.938 kB / 0.5654 GB, free: 12.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1618, allocations: 19.94 kB / 0.5654 GB, free: 12.6 MB / 430.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.0001605/0.1619, allocations: 170.5 kB / 0.5656 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.162, allocations: 19.94 kB / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.162, allocations: 0 / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.162, allocations: 384 / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1625, allocations: 463.7 kB / 0.566 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.163, allocations: 264.2 kB / 0.5663 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1633, allocations: 0.6963 MB / 0.5669 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1634, allocations: 15.44 kB / 0.567 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1634, allocations: 0 / 0.567 GB, free: 10.92 MB / 430.1 MB Notification: Performance of Templates: time 0.002801/0.1662, allocations: 0.8484 MB / 0.5678 GB, free: 10.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3636209038086236]