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.0009596/0.0009596, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009597/0.0009597, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 0.9718/0.9718, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2692/0.2692, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.984e-06/1.984e-06, allocations: 0 / 376.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.918e-05, allocations: 6.25 kB / 376.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001018/0.001037, allocations: 0.4997 MB / 377 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.002313, allocations: 0.7409 MB / 377.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.002332, allocations: 7.938 kB / 377.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.002346, allocations: 0 / 377.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.902e-06/0.002352, allocations: 3.938 kB / 377.7 MB, free: 3.188 MB / 346.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.001364/0.003716, allocations: 0.638 MB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.004e-05/0.003756, allocations: 4 kB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.868e-05/0.003785, allocations: 4 kB / 378.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.003811, allocations: 3.984 kB / 378.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.603e-05/0.003827, allocations: 0 / 378.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.003833, allocations: 0 / 378.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.004402, allocations: 411 kB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.004409, allocations: 0 / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.159e-05/0.004421, allocations: 0 / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.004825, allocations: 390.9 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.004827, allocations: 0 / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004828, allocations: 0 / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.004831, allocations: 0 / 379.1 MB, free: 1.75 MB / 346.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.0002923/0.005123, allocations: 417.5 kB / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.00516, allocations: 12.03 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.005183, allocations: 0.9375 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.344e-05/0.005237, allocations: 108.6 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.005245, allocations: 384 / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-06/0.005251, allocations: 4.375 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.535e-05/0.005316, allocations: 59.97 kB / 379.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.005323, allocations: 192 / 379.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.00533, allocations: 4.359 kB / 379.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005336, allocations: 4.375 kB / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.598e-05/0.005352, allocations: 33.58 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.854e-05/0.005431, allocations: 93.27 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/0.005467, allocations: 48.77 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.005481, allocations: 33.39 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-06/0.005485, allocations: 4.094 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.00552, allocations: 63.08 kB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.00552, allocations: 4 kB / 380 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001281/0.005649, allocations: 118.8 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.005676, allocations: 77.11 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.151e-05/0.005718, allocations: 146.2 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.005726, allocations: 25.7 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.005754, allocations: 130.9 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.005768, allocations: 352 / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.00579, allocations: 19.38 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.00591, allocations: 496.1 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.005925, allocations: 25.7 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.005937, allocations: 29.83 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.005978, allocations: 63.09 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.005979, allocations: 0 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.432e-05/0.006043, allocations: 101 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.006065, allocations: 33.7 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006071, allocations: 7.938 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.006081, allocations: 0 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.006082, allocations: 0 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.006085, allocations: 0 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-06/0.006094, allocations: 0 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.006099, allocations: 4.094 kB / 381.3 MB, free: 15.33 MB / 362.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.81e-05/0.006167, allocations: 194.2 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.006172, allocations: 0 / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.209e-05/0.006184, allocations: 7 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006186, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.006188, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.00619, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.346e-05/0.006243, allocations: 97.14 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.006244, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.006245, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006246, allocations: 8 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.006251, allocations: 3.984 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006251, allocations: 0 / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.006252, allocations: 0 / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.058e-05/0.006332, allocations: 135.7 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.006337, allocations: 3.984 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.006348, allocations: 4 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-06/0.006353, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.006361, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.006363, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.006392, allocations: 119.2 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006392, allocations: 8.031 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.006656, allocations: 79.73 kB / 381.9 MB, free: 14.61 MB / 362.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.0003636/0.007019, allocations: 244.1 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.007105, allocations: 122.4 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007106, allocations: 0 / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.007137, allocations: 92.78 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.256e-05/0.00722, allocations: 11.69 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001282/0.007348, allocations: 117.6 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.487e-05/0.007373, allocations: 55.36 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.977e-06/0.007377, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.007409, allocations: 70.2 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00741, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Templates: time 0.004043/0.01145, allocations: 2.358 MB / 385 MB, free: 11.44 MB / 362.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.080275227315724]