Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 174.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.263/0.263, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.511e-05, allocations: 5.297 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002303/0.002328, allocations: 1.746 MB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002189/0.002547, allocations: 79.66 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.002602, allocations: 0 / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.002657, allocations: 19.84 kB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.002729, allocations: 27.67 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.249e-05/0.002822, allocations: 23.95 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.002941, allocations: 107.5 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.003094, allocations: 39.95 kB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.003166, allocations: 59.95 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.003266, allocations: 39.88 kB / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.003291, allocations: 12 kB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.003303, allocations: 12 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.003331, allocations: 27.91 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.003364, allocations: 31.92 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003482, allocations: 71.75 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.003484, allocations: 0 / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003486, allocations: 0 / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.00349, allocations: 0 / 327.5 MB, free: 5.402 MB / 298.7 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.0003276/0.003817, allocations: 302.2 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003853, allocations: 20.02 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.003882, allocations: 12.94 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.003978, allocations: 121.7 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.003992, allocations: 12.61 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.004006, allocations: 8.375 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.004124, allocations: 99.34 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.004133, allocations: 4.188 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.004143, allocations: 8.312 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.004151, allocations: 4.375 kB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.004212, allocations: 36.34 kB / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.004806, allocations: 0.5672 MB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.333e-05/0.004879, allocations: 165.1 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.004907, allocations: 92.12 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.004928, allocations: 75.28 kB / 329 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.004971, allocations: 109.8 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.004972, allocations: 0 / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.191e-05/0.005034, allocations: 33.64 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.00509, allocations: 126.7 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.005177, allocations: 130.6 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.005186, allocations: 29.7 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.005319, allocations: 124 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.005322, allocations: 4 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.00535, allocations: 21.67 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.005422, allocations: 318.8 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.00543, allocations: 4 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.005454, allocations: 37.16 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.0055, allocations: 57.02 kB / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005502, allocations: 0 / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.111e-05/0.005583, allocations: 61.5 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.005601, allocations: 7.984 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.005607, allocations: 4 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.00562, allocations: 192 / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.005671, allocations: 16 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005673, allocations: 0 / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.005701, allocations: 11.94 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.005704, allocations: 3.938 kB / 330.1 MB, free: 2.602 MB / 298.7 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 6.347e-05/0.005768, allocations: 189.1 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.005807, allocations: 112.9 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.005843, allocations: 108.4 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.00588, allocations: 184.3 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-05/0.005916, allocations: 176.3 kB / 330.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/0.005954, allocations: 184.2 kB / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.00623, allocations: 337.5 kB / 331.3 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/0.006255, allocations: 108.9 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.006279, allocations: 105.1 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.152e-05/0.00632, allocations: 180.3 kB / 331.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.006359, allocations: 184.2 kB / 331.9 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.043e-05/0.006399, allocations: 188.2 kB / 332.1 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-05/0.006437, allocations: 180.4 kB / 332.3 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.006543, allocations: 303.8 kB / 332.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.006575, allocations: 112.9 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.006617, allocations: 180.2 kB / 332.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.006663, allocations: 116.9 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.006703, allocations: 180.3 kB / 333.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.006725, allocations: 104.9 kB / 333.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.073e-05/0.006746, allocations: 16.84 kB / 333.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.006746, allocations: 4 kB / 333.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000137/0.006883, allocations: 19.89 kB / 333.3 MB, free: 15.21 MB / 314.7 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 8.784e-05/0.006971, allocations: 147.7 kB / 333.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.007038, allocations: 28.78 kB / 333.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.007043, allocations: 384 / 333.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.007044, allocations: 4 kB / 333.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.007262, allocations: 456.6 kB / 333.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.007561, allocations: 251.6 kB / 334.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.007595, allocations: 63.28 kB / 334.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.505e-05/0.00762, allocations: 4.75 kB / 334.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.007648, allocations: 51.38 kB / 334.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007649, allocations: 0 / 334.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Templates: time 0.001718/0.009367, allocations: 304.9 kB / 334.6 MB, free: 13.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.973075417801738]