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.001118/0.001118, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002649, allocations: 452 kB / 10.43 MB, free: 264 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.001083/0.001083, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002482, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8899/0.8899, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/1.043, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1418/0.1418, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02005/0.1619, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.874e-06/1.874e-06, allocations: 3.938 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.182e-05, allocations: 2.312 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001252/0.001274, allocations: 0.5672 MB / 267.9 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.003222, allocations: 1.556 MB / 269.5 MB, free: 436 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.003236, allocations: 4 kB / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.707e-06/0.00324, allocations: 0 / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.21e-07/0.003241, allocations: 0 / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.003915, allocations: 239.2 kB / 269.7 MB, free: 192 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.385e-05/0.003959, allocations: 0 / 269.7 MB, free: 192 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.00399, allocations: 8 kB / 269.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.004018, allocations: 0 / 269.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.004036, allocations: 0 / 269.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.004043, allocations: 3.938 kB / 269.7 MB, free: 180 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007951/0.004838, allocations: 0.6947 MB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.004846, allocations: 0 / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.004859, allocations: 4 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.005338, allocations: 0.5382 MB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.005346, allocations: 3.938 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005348, allocations: 0 / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.005356, allocations: 4 kB / 271 MB, free: 14.93 MB / 282.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.0002958/0.005652, allocations: 286.1 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.00568, allocations: 8.031 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.005708, allocations: 4.938 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.537e-05/0.005763, allocations: 105.8 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005772, allocations: 384 / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.005782, allocations: 4.375 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.225e-05/0.005845, allocations: 55.95 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005851, allocations: 4.172 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.005856, allocations: 384 / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005861, allocations: 7.938 kB / 271.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.005877, allocations: 29.7 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.831e-05/0.005935, allocations: 60.98 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.005972, allocations: 40.28 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.005989, allocations: 34.66 kB / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-06/0.005993, allocations: 4 kB / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.006028, allocations: 60.25 kB / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.006028, allocations: 0 / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001071/0.006135, allocations: 114.8 kB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.006187, allocations: 162.2 kB / 271.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.061e-05/0.006218, allocations: 93.98 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.006226, allocations: 25.7 kB / 272.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.006244, allocations: 80.14 kB / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.006262, allocations: 0 / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.006284, allocations: 13.72 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.006352, allocations: 314.8 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.006367, allocations: 25.7 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.00638, allocations: 33.7 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.006426, allocations: 68.23 kB / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006428, allocations: 64 / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.337e-05/0.006482, allocations: 89.05 kB / 272.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.006513, allocations: 37.69 kB / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006519, allocations: 0 / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.006529, allocations: 0 / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.00653, allocations: 0 / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006533, allocations: 0 / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.00655, allocations: 0 / 272.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.006559, allocations: 11.88 kB / 272.7 MB, free: 12.92 MB / 282.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.789e-05/0.006617, allocations: 131.5 kB / 272.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.006623, allocations: 8.031 kB / 272.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-06/0.006632, allocations: 3 kB / 272.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006634, allocations: 0 / 272.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.006637, allocations: 7.984 kB / 272.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.006641, allocations: 0 / 272.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.006696, allocations: 73.73 kB / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006696, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-07/0.006697, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.006701, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.006701, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.006706, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.006706, allocations: 4 kB / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.006708, allocations: 4 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.006782, allocations: 120.4 kB / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006793, allocations: 0 / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/0.006799, allocations: 4 kB / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.006807, allocations: 0 / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006811, allocations: 3.984 kB / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.264e-06/0.006818, allocations: 4.859 kB / 273.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006819, allocations: 0 / 273.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.00708, allocations: 115.9 kB / 273.2 MB, free: 12.38 MB / 282.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.000534/0.007614, allocations: 184 kB / 273.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.007712, allocations: 119.7 kB / 273.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.007716, allocations: 0 / 273.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.007748, allocations: 97.94 kB / 273.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.815e-05/0.007806, allocations: 15.86 kB / 273.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001655/0.007972, allocations: 104 kB / 273.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.008, allocations: 51.36 kB / 273.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.726e-06/0.008009, allocations: 7.984 kB / 273.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.008039, allocations: 47.38 kB / 273.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008039, allocations: 4 kB / 273.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of Templates: time 0.005005/0.01304, allocations: 4.046 MB / 277.9 MB, free: 7.602 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8877225667238235]