Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001516/0.001516, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00177/0.00177, allocations: 165.9 kB / 24.99 MB, free: 8.793 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.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2732/0.2732, allocations: 34.26 MB / 296 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.161e-05/4.423e-05, allocations: 2.312 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001229/0.001273, allocations: 496.9 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.003307, allocations: 1.607 MB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.003339, allocations: 4 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.003365, allocations: 0 / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.456e-06/0.003373, allocations: 3.938 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.004231, allocations: 295.1 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.004289, allocations: 0 / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.004333, allocations: 4 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.004361, allocations: 4 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.004379, allocations: 0 / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.004386, allocations: 0 / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.00488, allocations: 427 kB / 380.8 MB, free: 132 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.004889, allocations: 4 kB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.004914, allocations: 8 kB / 380.8 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.00525, allocations: 319.1 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.005254, allocations: 0 / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005255, allocations: 4 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.00526, allocations: 0 / 381.1 MB, free: 15.8 MB / 362.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.0003326/0.005592, allocations: 393.8 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005632, allocations: 8.031 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.005673, allocations: 0.9375 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.78e-05/0.00574, allocations: 112.5 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005752, allocations: 4.375 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.005762, allocations: 4.375 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.005858, allocations: 59.97 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.005865, allocations: 192 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.005873, allocations: 384 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.005882, allocations: 3.938 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.005901, allocations: 29.64 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.278e-05/0.005994, allocations: 112.6 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.006035, allocations: 48.77 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.006055, allocations: 41.47 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-06/0.006059, allocations: 0 / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.006096, allocations: 71.03 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.006097, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.006276, allocations: 122.7 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.006317, allocations: 81.05 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.249e-05/0.006359, allocations: 142.2 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.00637, allocations: 25.7 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.006397, allocations: 126.9 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.006412, allocations: 352 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.006437, allocations: 23.38 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.00655, allocations: 496.1 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.00657, allocations: 33.83 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.006583, allocations: 25.7 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.006632, allocations: 63.09 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006634, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.541e-05/0.006699, allocations: 101 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.006723, allocations: 29.7 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006727, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.006739, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.006742, allocations: 8 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.006749, allocations: 8.031 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.00676, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.006766, allocations: 0 / 383.3 MB, free: 13.37 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.865e-05/0.006835, allocations: 182.3 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.006842, allocations: 3.984 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-06/0.006851, allocations: 3 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006852, allocations: 0 / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.006855, allocations: 0 / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.006859, allocations: 7.938 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.257e-05/0.006912, allocations: 108.6 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006913, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-07/0.006913, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.006914, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.00692, allocations: 4 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006921, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006922, allocations: 3.938 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.763e-05/0.007, allocations: 127.8 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.007006, allocations: 7.938 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.007021, allocations: 7.984 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-06/0.007025, allocations: 0 / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.007036, allocations: 0 / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.007039, allocations: 4.031 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.09e-05/0.007069, allocations: 123.1 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007069, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.007293, allocations: 63.8 kB / 383.9 MB, free: 12.64 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.0003823/0.007675, allocations: 195.6 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007786, allocations: 122.4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007787, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.007818, allocations: 92.78 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.207e-05/0.00791, allocations: 4 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.008088, allocations: 117.8 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.008114, allocations: 51.36 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.563e-06/0.008121, allocations: 3.984 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.008134, allocations: 8.5 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008134, allocations: 4 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.00309/0.01122, allocations: 1.316 MB / 385.8 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.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.194335380103439]