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.001441/0.001441, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001633/0.001633, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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.492/1.492, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2143/0.2143, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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 1.523e-06/1.523e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.472e-05, allocations: 9.172 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001402/0.001427, allocations: 0.4894 MB / 443.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.003814, allocations: 1.561 MB / 444.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.003837, allocations: 0 / 444.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.003852, allocations: 0 / 444.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.003859, allocations: 0 / 444.7 MB, free: 3.34 MB / 366.1 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.00106/0.00492, allocations: 291.1 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.004961, allocations: 4 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.004995, allocations: 0 / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.005028, allocations: 7.984 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.842e-05/0.005046, allocations: 0 / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-06/0.005053, allocations: 0 / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.00576, allocations: 426.9 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.005767, allocations: 0 / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.005786, allocations: 4 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.006267, allocations: 311.3 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.006272, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006273, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.006277, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 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.0003912/0.006668, allocations: 299.7 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.006707, allocations: 12.03 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.006744, allocations: 0.9375 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.006865, allocations: 101.8 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.00688, allocations: 4.312 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.00689, allocations: 4.375 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.007014, allocations: 63.94 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007024, allocations: 8.125 kB / 446.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.007033, allocations: 8.312 kB / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.007039, allocations: 3.938 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.007077, allocations: 25.7 kB / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.007257, allocations: 97.33 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.105e-05/0.007319, allocations: 40.28 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.00735, allocations: 38.59 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.007359, allocations: 0 / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.007417, allocations: 64.25 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.007418, allocations: 0 / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002071/0.007625, allocations: 114.8 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.007695, allocations: 81.05 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.007746, allocations: 97.84 kB / 446.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.007766, allocations: 29.7 kB / 446.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.0078, allocations: 80.14 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.00782, allocations: 3.953 kB / 446.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.007855, allocations: 13.72 kB / 446.9 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.008013, allocations: 310.8 kB / 447.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.008042, allocations: 29.64 kB / 447.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.008065, allocations: 29.83 kB / 447.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.008126, allocations: 64.33 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-05/0.008177, allocations: 7.984 kB / 447.3 MB, free: 472 kB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.515e-05/0.008263, allocations: 81.11 kB / 447.4 MB, free: 372 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.008304, allocations: 33.7 kB / 447.4 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.008308, allocations: 0 / 447.4 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.008322, allocations: 0 / 447.4 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.008323, allocations: 0 / 447.4 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.00833, allocations: 3.938 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.008347, allocations: 3.984 kB / 447.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.008356, allocations: 8.031 kB / 447.5 MB, free: 316 kB / 366.1 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.0001057/0.008462, allocations: 139.5 kB / 447.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.00847, allocations: 0 / 447.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.008482, allocations: 7 kB / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.008483, allocations: 0 / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008488, allocations: 0 / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.008493, allocations: 3.938 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.113e-05/0.008584, allocations: 101.2 kB / 447.7 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.008587, allocations: 4 kB / 447.7 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.008588, allocations: 4 kB / 447.7 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.008589, allocations: 4 kB / 447.7 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.0086, allocations: 3.984 kB / 447.7 MB, free: 0 / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.008601, allocations: 0 / 447.7 MB, free: 0 / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008601, allocations: 0 / 447.7 MB, free: 0 / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.008808, allocations: 117.2 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.008818, allocations: 5.641 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.008834, allocations: 1.094 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.008849, allocations: 1.812 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.008863, allocations: 1.125 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.008869, allocations: 3.375 kB / 447.9 MB, free: 19.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.686e-05/0.008886, allocations: 77.06 kB / 447.9 MB, free: 19.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.008886, allocations: 2.406 kB / 447.9 MB, free: 19.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.009299, allocations: 65.7 kB / 448 MB, free: 19.26 MB / 366.1 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.0004947/0.009793, allocations: 195.9 kB / 448.2 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.009896, allocations: 117.6 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.009898, allocations: 3.844 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.009919, allocations: 82.02 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.01005, allocations: 3.031 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.01022, allocations: 110.5 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.772e-05/0.01024, allocations: 54.91 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.869e-06/0.01025, allocations: 0 / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.01026, allocations: 13.44 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01026, allocations: 0 / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of Templates: time 0.004645/0.0149, allocations: 1.304 MB / 449.9 MB, free: 18.69 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.900095757097006]