Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001154/0.001154, 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.004331/0.004331, 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.053/1.053, 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.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.2572/0.2572, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.09e-05, allocations: 5.297 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001331/0.001362, allocations: 0.4971 MB / 323.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002496, allocations: 0.742 MB / 324.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.002513, allocations: 3.938 kB / 324.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.002528, allocations: 0 / 324.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.002535, allocations: 0 / 324.4 MB, free: 8.477 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.003991, allocations: 0.6613 MB / 325.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.004041, allocations: 8.609 kB / 325.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.004075, allocations: 0 / 325.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.004105, allocations: 0 / 325.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.004125, allocations: 3.938 kB / 325.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.004131, allocations: 4 kB / 325.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.0047, allocations: 411.1 kB / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.00471, allocations: 0 / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.004727, allocations: 7.922 kB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.00514, allocations: 371 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005144, allocations: 0 / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.005146, allocations: 4 kB / 325.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.00515, allocations: 0 / 325.9 MB, free: 7.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003028/0.005453, allocations: 293.9 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.005493, allocations: 8.031 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.005523, allocations: 4.938 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.595e-05/0.005588, allocations: 105.8 kB / 326.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005597, allocations: 4.375 kB / 326.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.005606, allocations: 384 / 326.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/0.00568, allocations: 59.95 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.005686, allocations: 4.172 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.005693, allocations: 384 / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005698, allocations: 384 / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.005718, allocations: 37.58 kB / 326.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.823e-05/0.005787, allocations: 61.05 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.005834, allocations: 44.31 kB / 326.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.005853, allocations: 30.56 kB / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.005857, allocations: 8.062 kB / 326.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.005893, allocations: 64.25 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.005894, allocations: 0 / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.006004, allocations: 114.8 kB / 326.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.00604, allocations: 77.11 kB / 326.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.191e-05/0.006072, allocations: 89.86 kB / 326.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.006081, allocations: 25.7 kB / 326.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.006103, allocations: 80.14 kB / 327 MB, free: 5.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.006121, allocations: 5.188 kB / 327 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.006143, allocations: 21.83 kB / 327 MB, free: 5.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.006222, allocations: 318.8 kB / 327.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.00624, allocations: 29.7 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.006253, allocations: 25.7 kB / 327.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.006297, allocations: 64.2 kB / 327.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006299, allocations: 0 / 327.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.809e-05/0.006358, allocations: 85.09 kB / 327.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.006387, allocations: 33.7 kB / 327.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.006392, allocations: 3.938 kB / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.006403, allocations: 0 / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-06/0.006407, allocations: 4.094 kB / 327.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-06/0.006409, allocations: 0 / 327.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.00642, allocations: 0 / 327.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.006427, allocations: 4 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.269e-05/0.006489, allocations: 139.5 kB / 327.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-06/0.006495, allocations: 4 kB / 327.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-06/0.006503, allocations: 3 kB / 327.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006505, allocations: 0 / 327.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006507, allocations: 0 / 327.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006509, allocations: 0 / 327.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.877e-05/0.006558, allocations: 73.78 kB / 327.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006559, allocations: 0 / 327.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.00656, allocations: 0 / 327.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006562, allocations: 3.984 kB / 327.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.006565, allocations: 3.938 kB / 327.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006566, allocations: 0 / 327.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006566, allocations: 0 / 327.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.224e-05/0.006639, allocations: 120.5 kB / 327.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-06/0.006642, allocations: 352 / 327.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006653, allocations: 0 / 327.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-06/0.006658, allocations: 0 / 327.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.006667, allocations: 8.031 kB / 327.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.00667, allocations: 0 / 327.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.653e-06/0.006676, allocations: 4.859 kB / 327.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006676, allocations: 0 / 327.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.006914, allocations: 83.73 kB / 328 MB, free: 4.59 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004559/0.00737, allocations: 241.7 kB / 328.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.631e-05/0.007466, allocations: 119.6 kB / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.007468, allocations: 4.062 kB / 328.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.007499, allocations: 89.95 kB / 328.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.77e-05/0.007547, allocations: 3.938 kB / 328.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001542/0.007701, allocations: 105.3 kB / 328.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.007731, allocations: 55.36 kB / 328.6 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.007736, allocations: 0 / 328.6 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.007766, allocations: 55.36 kB / 328.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.007767, allocations: 0 / 328.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of Templates: time 0.004013/0.01178, allocations: 2.33 MB / 331 MB, free: 1.504 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.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: 3.0865032277069986]