Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.0008587/0.0008587, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001895, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006898/0.0006898, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008547/0.001544, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.914/0.914, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1637/1.078, allocations: 49.51 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1355/0.1355, allocations: 32.34 MB / 253.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02184/0.1574, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.633e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001192/0.001218, allocations: 0.5515 MB / 267.7 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.002698, allocations: 1.564 MB / 269.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.432e-05/0.002712, allocations: 0 / 269.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-06/0.002716, allocations: 0 / 269.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-07/0.002717, allocations: 0 / 269.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.00337, allocations: 243.2 kB / 269.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.003422, allocations: 4 kB / 269.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.003459, allocations: 0 / 269.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.00349, allocations: 0 / 269.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.003511, allocations: 4 kB / 269.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-06/0.003518, allocations: 0 / 269.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006774/0.004195, allocations: 0.6947 MB / 270.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.004204, allocations: 0 / 270.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.004218, allocations: 4 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.004707, allocations: 0.5498 MB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.004721, allocations: 0 / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004722, allocations: 0 / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.00474, allocations: 0 / 270.8 MB, free: 2.914 MB / 266.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.0004053/0.005145, allocations: 278.2 kB / 271.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.005181, allocations: 8.031 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.00522, allocations: 4.938 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.672e-05/0.005287, allocations: 105.8 kB / 271.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.005298, allocations: 384 / 271.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.005305, allocations: 384 / 271.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.005387, allocations: 63.97 kB / 271.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.005395, allocations: 192 / 271.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005402, allocations: 384 / 271.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005409, allocations: 3.938 kB / 271.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.005434, allocations: 37.62 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.148e-05/0.005505, allocations: 53.05 kB / 271.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.005553, allocations: 48.3 kB / 271.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.005571, allocations: 34.62 kB / 271.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.005579, allocations: 3.938 kB / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.005615, allocations: 56.27 kB / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.005616, allocations: 4 kB / 271.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.005738, allocations: 118.7 kB / 271.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.005777, allocations: 81.11 kB / 271.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.27e-05/0.005809, allocations: 89.86 kB / 271.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.00582, allocations: 25.7 kB / 271.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.005841, allocations: 84.14 kB / 271.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.005858, allocations: 3.953 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.005881, allocations: 9.719 kB / 271.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.005964, allocations: 318.8 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.005977, allocations: 29.69 kB / 272.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.005989, allocations: 33.83 kB / 272.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.006028, allocations: 60.27 kB / 272.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00603, allocations: 0 / 272.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.575e-05/0.006075, allocations: 93.02 kB / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.00611, allocations: 33.7 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006114, allocations: 0 / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.006121, allocations: 0 / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.006124, allocations: 0 / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.006126, allocations: 0 / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.00614, allocations: 96 / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.006148, allocations: 7.938 kB / 272.5 MB, free: 1.004 MB / 266.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 5.661e-05/0.006205, allocations: 143.5 kB / 272.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.006209, allocations: 3.984 kB / 272.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-06/0.006217, allocations: 7 kB / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-07/0.006217, allocations: 0 / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006219, allocations: 0 / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006221, allocations: 0 / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.229e-05/0.006263, allocations: 69.78 kB / 272.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.006264, allocations: 0 / 272.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-06/0.006265, allocations: 4 kB / 272.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-06/0.006268, allocations: 4 kB / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.006269, allocations: 0 / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.006272, allocations: 0 / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006273, allocations: 3.984 kB / 272.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-07/0.006274, allocations: 3.938 kB / 272.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.651e-05/0.00633, allocations: 116.4 kB / 272.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.00634, allocations: 3.984 kB / 272.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-06/0.006345, allocations: 0 / 272.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-06/0.006353, allocations: 4 kB / 272.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.006354, allocations: 0 / 272.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.509e-06/0.006358, allocations: 8.891 kB / 272.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006358, allocations: 0 / 272.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.006604, allocations: 119.9 kB / 272.9 MB, free: 468 kB / 266.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.0004242/0.007028, allocations: 172 kB / 273.1 MB, free: 288 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.00711, allocations: 119.6 kB / 273.2 MB, free: 140 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.007113, allocations: 4 kB / 273.2 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.007141, allocations: 89.95 kB / 273.3 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.07e-05/0.007182, allocations: 3.938 kB / 273.3 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/0.00733, allocations: 108 kB / 273.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.007361, allocations: 55.34 kB / 273.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.929e-06/0.007366, allocations: 0 / 273.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.007397, allocations: 51.38 kB / 273.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007398, allocations: 4.125 kB / 273.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.004719/0.01212, allocations: 4.065 MB / 277.6 MB, free: 11.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices3/TestMatrices3.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.1422165585681796]