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.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.001055/0.001055, allocations: 80.8 kB / 21.49 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.003654/0.003654, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.256/0.256, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.315e-05, allocations: 3.188 kB / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003851/0.003884, allocations: 1.781 MB / 325 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.004149, allocations: 87.59 kB / 325.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.004217, allocations: 0 / 325.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.004283, allocations: 23.84 kB / 325.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.004372, allocations: 19.8 kB / 325.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.004484, allocations: 23.95 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004623, allocations: 103.5 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.00478, allocations: 43.95 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.004868, allocations: 59.89 kB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.004977, allocations: 35.88 kB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.005006, allocations: 12 kB / 325.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.005025, allocations: 12 kB / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.005057, allocations: 27.91 kB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.005104, allocations: 40.55 kB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.005252, allocations: 67.75 kB / 325.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005255, allocations: 0 / 325.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005256, allocations: 0 / 325.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.00526, allocations: 0 / 325.6 MB, free: 7.324 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.0004069/0.005667, allocations: 306 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.005707, allocations: 12.03 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.005756, allocations: 20.88 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005871, allocations: 117.7 kB / 326 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.005888, allocations: 12.61 kB / 326 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.005904, allocations: 12.38 kB / 326 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.006066, allocations: 107.3 kB / 326.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.006079, allocations: 4.172 kB / 326.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.00609, allocations: 4.375 kB / 326.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.006099, allocations: 4.375 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.51e-05/0.006164, allocations: 35.92 kB / 326.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.006851, allocations: 0.5594 MB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.006928, allocations: 165.1 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.006965, allocations: 96.06 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.006989, allocations: 75.28 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.007037, allocations: 109.8 kB / 327.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.007039, allocations: 0 / 327.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.116e-05/0.00711, allocations: 29.7 kB / 327.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.007162, allocations: 126.7 kB / 327.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.007276, allocations: 126.6 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.007289, allocations: 29.7 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.007359, allocations: 127.9 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.007362, allocations: 0 / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007402, allocations: 33.66 kB / 327.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.007499, allocations: 314.8 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.007511, allocations: 4 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.007548, allocations: 41.16 kB / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.007606, allocations: 45.08 kB / 328 MB, free: 4.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.007609, allocations: 3.938 kB / 328 MB, free: 4.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001187/0.007728, allocations: 73.48 kB / 328.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.007743, allocations: 4 kB / 328.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.007751, allocations: 7.984 kB / 328.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.007767, allocations: 0 / 328.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.007832, allocations: 15.94 kB / 328.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007835, allocations: 0 / 328.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.007876, allocations: 7.938 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.007881, allocations: 0 / 328.2 MB, free: 4.52 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 9.233e-05/0.007973, allocations: 193.3 kB / 328.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.008031, allocations: 116.8 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.008083, allocations: 108.5 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/0.008139, allocations: 184.2 kB / 328.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-05/0.008201, allocations: 176.3 kB / 328.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/0.008259, allocations: 180.2 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.008457, allocations: 337.4 kB / 329.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/0.008494, allocations: 101 kB / 329.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.008532, allocations: 112.9 kB / 329.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.008591, allocations: 176.4 kB / 329.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.008652, allocations: 184.3 kB / 330 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.746e-05/0.008719, allocations: 192.1 kB / 330.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.476e-05/0.008774, allocations: 176.5 kB / 330.3 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.008903, allocations: 303.8 kB / 330.6 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.00896, allocations: 116.9 kB / 330.8 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.009043, allocations: 188.2 kB / 330.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.009135, allocations: 104.9 kB / 331 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.009209, allocations: 180.2 kB / 331.2 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.009254, allocations: 105 kB / 331.3 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.009289, allocations: 16.84 kB / 331.3 MB, free: 1.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009289, allocations: 0 / 331.3 MB, free: 1.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.00952, allocations: 23.89 kB / 331.4 MB, free: 1.133 MB / 298.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 0.0001265/0.009646, allocations: 147.7 kB / 331.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.009738, allocations: 28.78 kB / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.009744, allocations: 0 / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.009745, allocations: 0 / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.01009, allocations: 463.6 kB / 332 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.01045, allocations: 252.6 kB / 332.2 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.0105, allocations: 67.34 kB / 332.3 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.01052, allocations: 0 / 332.3 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.01056, allocations: 51.38 kB / 332.3 MB, free: 88 kB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01056, allocations: 0 / 332.3 MB, free: 88 kB / 298.7 MB Notification: Performance of Templates: time 0.002357/0.01292, allocations: 305.7 kB / 332.6 MB, free: 15.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] 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","",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.8451579650864005]