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.001284/0.001284, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001467/0.001467, allocations: 168.9 kB / 24.91 MB, free: 9.156 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.492 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.243/0.243, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.543e-06/1.543e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.216e-05, allocations: 3.516 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.005494/0.005516, allocations: 1.789 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.00569, allocations: 75.67 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.005741, allocations: 4 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.005792, allocations: 15.86 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.005864, allocations: 35.64 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.356e-05/0.005947, allocations: 23.97 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.006058, allocations: 107.5 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.006185, allocations: 39.97 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.006255, allocations: 63.88 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.00635, allocations: 31.89 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.006372, allocations: 12 kB / 327.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.006386, allocations: 8 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.006411, allocations: 27.92 kB / 327.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.006449, allocations: 35.97 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.006569, allocations: 75.73 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.006571, allocations: 0 / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006571, allocations: 0 / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006575, allocations: 0 / 327.6 MB, free: 5.305 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.0003278/0.006903, allocations: 298.2 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.006935, allocations: 11.97 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.006973, allocations: 24.91 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.00706, allocations: 121.7 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.007073, allocations: 12.61 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.007086, allocations: 12.38 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.007219, allocations: 107.3 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.007227, allocations: 192 / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.007237, allocations: 4.375 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003009/0.01025, allocations: 4.375 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.0103, allocations: 32.36 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.0108, allocations: 0.5594 MB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.01086, allocations: 173.1 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.01088, allocations: 80.14 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.0109, allocations: 75.28 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.01094, allocations: 117.8 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.01094, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.42e-05/0.01099, allocations: 29.64 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.01104, allocations: 130.7 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.01111, allocations: 126.6 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.01112, allocations: 25.7 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.01117, allocations: 128 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.01118, allocations: 4 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.01121, allocations: 25.66 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.01129, allocations: 318.8 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-06/0.01129, allocations: 0 / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.01132, allocations: 45.14 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.01137, allocations: 53.02 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01138, allocations: 4 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.772e-05/0.01146, allocations: 65.5 kB / 330.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.01147, allocations: 4 kB / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01148, allocations: 0 / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01149, allocations: 4 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.01154, allocations: 11.98 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01154, allocations: 4 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.01157, allocations: 7.875 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.01158, allocations: 8.188 kB / 330.2 MB, free: 2.504 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.502e-05/0.01164, allocations: 189.1 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.01169, allocations: 108.9 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.01184, allocations: 116.4 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.01188, allocations: 176.3 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-05/0.01192, allocations: 180.3 kB / 330.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.19e-05/0.01196, allocations: 180.2 kB / 331.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.01212, allocations: 337.4 kB / 331.4 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.01215, allocations: 117 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.01217, allocations: 101 kB / 331.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.039e-05/0.01222, allocations: 180.3 kB / 331.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.01226, allocations: 184.2 kB / 332 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-05/0.0123, allocations: 180.2 kB / 332.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.302e-05/0.01234, allocations: 184.4 kB / 332.4 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.01245, allocations: 307.8 kB / 332.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.01248, allocations: 112.9 kB / 332.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.01253, allocations: 180.2 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.68e-05/0.0126, allocations: 108.9 kB / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.01264, allocations: 180.3 kB / 333.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.01267, allocations: 104.9 kB / 333.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.056e-05/0.01269, allocations: 20.83 kB / 333.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01269, allocations: 4 kB / 333.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.01289, allocations: 19.89 kB / 333.4 MB, free: 15.12 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 7.812e-05/0.01297, allocations: 155.7 kB / 333.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.01302, allocations: 16.8 kB / 333.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01302, allocations: 4 kB / 333.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.01303, allocations: 3.984 kB / 333.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.01581, allocations: 451.7 kB / 334 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.01635, allocations: 256 kB / 334.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.01639, allocations: 59.34 kB / 334.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.01641, allocations: 4.734 kB / 334.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.01644, allocations: 51.38 kB / 334.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01644, allocations: 0 / 334.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of Templates: time 0.005857/0.0223, allocations: 313.7 kB / 334.7 MB, free: 13.78 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 -s gbode -gbm=radauIIA3 -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.862972291186452]