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.001014/0.001014, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009992/0.0009992, allocations: 161 kB / 24.56 MB, free: 16 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.078/1.078, allocations: 177.1 MB / 205 MB, free: 5.648 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.2487/0.2487, allocations: 32.8 MB / 294.3 MB, free: 1.266 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 2.003e-06/2.003e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.57e-05, allocations: 2.312 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001149/0.001185, allocations: 0.4969 MB / 376.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002338, allocations: 0.7487 MB / 377.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.002359, allocations: 0 / 377.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.002381, allocations: 0 / 377.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-06/0.00239, allocations: 0 / 377.2 MB, free: 3.438 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.00156/0.00395, allocations: 0.6496 MB / 377.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.003999, allocations: 4 kB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.004034, allocations: 3.984 kB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.004066, allocations: 3.984 kB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.833e-05/0.004084, allocations: 0 / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.004093, allocations: 8 kB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.004722, allocations: 411 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.004735, allocations: 4 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.004758, allocations: 0 / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.005227, allocations: 371 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00523, allocations: 0 / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005231, allocations: 0 / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005235, allocations: 0 / 378.7 MB, free: 1.996 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.000374/0.00561, allocations: 413.6 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.005649, allocations: 12.03 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.005687, allocations: 4.938 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.854e-05/0.005745, allocations: 104.6 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.005758, allocations: 4.375 kB / 379.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.00577, allocations: 4.375 kB / 379.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/0.005857, allocations: 55.95 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.005865, allocations: 8.125 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005874, allocations: 384 / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.00588, allocations: 384 / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.005902, allocations: 33.58 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.006009, allocations: 112.6 kB / 379.4 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.089e-05/0.006059, allocations: 52.77 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.006084, allocations: 41.47 kB / 379.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.006088, allocations: 0 / 379.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.006127, allocations: 59.09 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.006128, allocations: 0 / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001788/0.006307, allocations: 126.7 kB / 379.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.006349, allocations: 81.11 kB / 379.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.752e-05/0.006397, allocations: 142.2 kB / 379.9 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.006406, allocations: 25.7 kB / 379.9 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.006438, allocations: 126.9 kB / 380.1 MB, free: 392 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.006454, allocations: 4.469 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.006478, allocations: 19.38 kB / 380.1 MB, free: 360 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.006611, allocations: 0.4883 MB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.006628, allocations: 25.7 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.006642, allocations: 29.7 kB / 380.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.006691, allocations: 71.02 kB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006693, allocations: 0 / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.01e-05/0.006753, allocations: 89.06 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.00678, allocations: 33.7 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006785, allocations: 4.094 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.006802, allocations: 3.984 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-06/0.006806, allocations: 0 / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006811, allocations: 0 / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.006822, allocations: 3.938 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.006828, allocations: 4 kB / 380.8 MB, free: 15.54 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 7.629e-05/0.006904, allocations: 178.3 kB / 381 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-06/0.00691, allocations: 4 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.00693, allocations: 3 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006932, allocations: 0 / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.006935, allocations: 4 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006938, allocations: 0 / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.349e-05/0.007002, allocations: 120.5 kB / 381.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007003, allocations: 3.938 kB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.007004, allocations: 0 / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.007005, allocations: 3.938 kB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.007012, allocations: 0 / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007013, allocations: 0 / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007014, allocations: 0 / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.915e-05/0.007103, allocations: 135.8 kB / 381.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.007108, allocations: 0 / 381.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.007121, allocations: 8.031 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-06/0.007127, allocations: 0 / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.007141, allocations: 4 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.007142, allocations: 0 / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.007177, allocations: 123.2 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007177, allocations: 0 / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.007453, allocations: 83.73 kB / 381.5 MB, free: 14.8 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.0004722/0.007926, allocations: 243.9 kB / 381.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.008044, allocations: 126.4 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008045, allocations: 0 / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.008084, allocations: 96.78 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.008184, allocations: 0 / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.008389, allocations: 109.7 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.00843, allocations: 59.34 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.542e-06/0.008437, allocations: 0 / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.008453, allocations: 8.5 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008453, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003881/0.01233, allocations: 1.995 MB / 384.1 MB, free: 12.06 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.2956608016975224]