Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.001097/0.001097, 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.001284/0.001284, allocations: 170.3 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 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2919/0.2919, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.938e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001852/0.001882, allocations: 0.5008 MB / 379 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.005848, allocations: 2.098 MB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.005882, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.005906, allocations: 7.938 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.005913, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.008739, allocations: 0.7557 MB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.008801, allocations: 3.984 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.008845, allocations: 15.92 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.00888, allocations: 0 / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.223e-05/0.008902, allocations: 0 / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.008912, allocations: 0 / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.01209, allocations: 1.548 MB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.01211, allocations: 3.984 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.01213, allocations: 4 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.01524, allocations: 1.871 MB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.01525, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.01526, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.01527, allocations: 3.938 kB / 385.3 MB, free: 11.54 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.001073/0.01634, allocations: 461.4 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.0164, allocations: 12.03 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.01644, allocations: 4.938 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.01652, allocations: 108.6 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.01653, allocations: 384 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.01654, allocations: 4.312 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.01663, allocations: 55.97 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.01664, allocations: 3.938 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.01665, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.01666, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.01668, allocations: 29.7 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.01678, allocations: 101.2 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.01683, allocations: 56.78 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.01686, allocations: 37.33 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-06/0.01686, allocations: 0 / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.01692, allocations: 63.16 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.01692, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001989/0.01712, allocations: 118.8 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.01716, allocations: 81.05 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.01722, allocations: 142.2 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.01723, allocations: 29.64 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.01726, allocations: 135 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.01729, allocations: 4.297 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.01732, allocations: 15.38 kB / 386.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.01746, allocations: 496.1 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.01749, allocations: 33.62 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.0175, allocations: 25.7 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.01756, allocations: 63.09 kB / 387.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01756, allocations: 0 / 387.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.205e-05/0.01764, allocations: 89.11 kB / 387.4 MB, free: 9.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.01769, allocations: 37.78 kB / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01769, allocations: 0 / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01771, allocations: 4 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.01771, allocations: 0 / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01771, allocations: 3.938 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.01773, allocations: 4 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01774, allocations: 0 / 387.5 MB, free: 9.066 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 8.892e-05/0.01782, allocations: 190.2 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-06/0.01783, allocations: 0 / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.01784, allocations: 3 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01785, allocations: 7.984 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01785, allocations: 7.938 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01785, allocations: 0 / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.824e-05/0.01791, allocations: 89.27 kB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01791, allocations: 0 / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.01791, allocations: 0 / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01792, allocations: 0 / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.01792, allocations: 4 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01792, allocations: 0 / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01792, allocations: 0 / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.01802, allocations: 135.8 kB / 387.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.01802, allocations: 4.031 kB / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.01803, allocations: 4 kB / 387.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-06/0.01804, allocations: 0 / 387.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.01805, allocations: 3.938 kB / 387.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.01805, allocations: 0 / 387.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.302e-05/0.01808, allocations: 127.1 kB / 388 MB, free: 8.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01808, allocations: 0 / 388 MB, free: 8.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009187/0.019, allocations: 295.5 kB / 388.3 MB, free: 8.137 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.001048/0.02005, allocations: 0.5259 MB / 388.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.02016, allocations: 122.5 kB / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02017, allocations: 0 / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.258e-05/0.0202, allocations: 88.8 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.0203, allocations: 4 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.02049, allocations: 113.6 kB / 389.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.02052, allocations: 59.3 kB / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.356e-06/0.02053, allocations: 0 / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.02057, allocations: 70.2 kB / 389.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02057, allocations: 0 / 389.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of Templates: time 0.01211/0.03268, allocations: 9.761 MB / 399.1 MB, free: 13.29 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 5.252471207175404]