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.001495/0.001495, allocations: 84.34 kB / 20.96 MB, free: 3.449 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.00164/0.00164, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 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.463/1.463, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3392/0.3392, allocations: 32.79 MB / 293.9 MB, free: 1.223 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.893e-06/1.893e-06, allocations: 3.938 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.535e-05, allocations: 6.312 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001588/0.001624, allocations: 496.4 kB / 375.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.003211, allocations: 0.7293 MB / 376.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.003225, allocations: 0 / 376.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.003237, allocations: 4 kB / 376.5 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.003243, allocations: 0 / 376.5 MB, free: 3.789 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.00201/0.005253, allocations: 0.6535 MB / 377.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.302e-05/0.005306, allocations: 4 kB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.005337, allocations: 0 / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.00537, allocations: 3.984 kB / 377.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.00539, allocations: 0 / 377.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.005397, allocations: 0 / 377.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008362/0.006234, allocations: 411 kB / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.006244, allocations: 0 / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.006271, allocations: 0 / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.006924, allocations: 379 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.006931, allocations: 4 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.006934, allocations: 4 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.006939, allocations: 0 / 377.9 MB, free: 2.344 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.00044/0.007379, allocations: 307.7 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.00743, allocations: 11.97 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.007476, allocations: 4.938 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.007578, allocations: 101.8 kB / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.00759, allocations: 384 / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.007598, allocations: 384 / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.007729, allocations: 59.95 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.00774, allocations: 4.125 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.007747, allocations: 4.375 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.007754, allocations: 4.375 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.0078, allocations: 33.64 kB / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.00793, allocations: 93.33 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.008271, allocations: 48.31 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.008309, allocations: 34.55 kB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.008319, allocations: 0 / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.008383, allocations: 60.33 kB / 378.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.008384, allocations: 0 / 378.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002372/0.008621, allocations: 126.8 kB / 378.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.008688, allocations: 81.14 kB / 378.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.00875, allocations: 89.86 kB / 378.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.00877, allocations: 25.7 kB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.008813, allocations: 80.14 kB / 379 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.008828, allocations: 4 kB / 379 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.008859, allocations: 9.719 kB / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.009032, allocations: 318.8 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.00906, allocations: 29.7 kB / 379.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.009081, allocations: 25.7 kB / 379.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.009157, allocations: 72.25 kB / 379.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009158, allocations: 0 / 379.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001148/0.009273, allocations: 89.11 kB / 379.6 MB, free: 396 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.009312, allocations: 29.7 kB / 379.6 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.00932, allocations: 3.984 kB / 379.6 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.009337, allocations: 4 kB / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.009338, allocations: 0 / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.009343, allocations: 0 / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.009363, allocations: 3.938 kB / 379.6 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.009368, allocations: 0 / 379.6 MB, free: 348 kB / 346.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 0.000114/0.009482, allocations: 143.5 kB / 379.8 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.009493, allocations: 3.953 kB / 379.8 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-06/0.009502, allocations: 3 kB / 379.8 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.009509, allocations: 4 kB / 379.8 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009512, allocations: 0 / 379.8 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.009514, allocations: 0 / 379.8 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.257e-05/0.009606, allocations: 101.2 kB / 379.9 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009608, allocations: 0 / 379.9 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.009608, allocations: 3.938 kB / 379.9 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.009609, allocations: 0 / 379.9 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.009615, allocations: 4 kB / 379.9 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009616, allocations: 4 kB / 379.9 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009616, allocations: 0 / 379.9 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.00977, allocations: 120.5 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.009776, allocations: 4 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.00979, allocations: 4 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.009798, allocations: 0 / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.009817, allocations: 4 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.00982, allocations: 0 / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.408e-05/0.009864, allocations: 75.28 kB / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009864, allocations: 0 / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.01025, allocations: 95.69 kB / 380.2 MB, free: 15.71 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.0005956/0.01084, allocations: 235.7 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01099, allocations: 114.8 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01099, allocations: 0 / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.01106, allocations: 89.03 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.0112, allocations: 4 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.01144, allocations: 108 kB / 380.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.5e-05/0.01149, allocations: 59.47 kB / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.5e-06/0.0115, allocations: 4 kB / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.01151, allocations: 8.5 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01151, allocations: 0 / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of Templates: time 0.005926/0.01744, allocations: 1.986 MB / 382.8 MB, free: 13.02 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.744311501970515]