Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001132/0.001132, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002698, 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.00121/0.00121, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002847, 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.8989/0.8989, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1821/1.081, allocations: 49.49 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.1301/0.1301, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02283/0.1529, allocations: 12.29 MB / 265.9 MB, free: 7.824 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.18e-05, allocations: 6.25 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009099/0.0009217, allocations: 0.5515 MB / 267.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.002429, allocations: 1.599 MB / 269.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-06/0.002436, allocations: 0 / 269.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.825e-06/0.002439, allocations: 0 / 269.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.81e-07/0.00244, allocations: 4 kB / 269.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.002984, allocations: 295.1 kB / 269.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.003026, allocations: 7.938 kB / 269.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.639e-05/0.003052, allocations: 0 / 269.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.00308, allocations: 11.98 kB / 269.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.49e-05/0.003094, allocations: 0 / 269.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-06/0.003099, allocations: 0 / 269.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.00362, allocations: 379.1 kB / 270 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-06/0.003627, allocations: 0 / 270 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.003639, allocations: 4 kB / 270 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.003956, allocations: 255.4 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.003971, allocations: 4 kB / 270.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003972, allocations: 0 / 270.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.003986, allocations: 0 / 270.3 MB, free: 3.418 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.0002655/0.004251, allocations: 294 kB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.004287, allocations: 8.031 kB / 270.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.004314, allocations: 4.938 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.855e-05/0.004382, allocations: 109.7 kB / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.004392, allocations: 384 / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.004398, allocations: 384 / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.241e-05/0.00447, allocations: 55.97 kB / 270.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.004476, allocations: 4.188 kB / 270.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-06/0.004481, allocations: 384 / 270.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.004486, allocations: 3.938 kB / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.004505, allocations: 29.7 kB / 270.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.371e-05/0.004569, allocations: 61.02 kB / 270.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/0.00461, allocations: 52.2 kB / 270.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.00463, allocations: 34.62 kB / 270.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/0.004634, allocations: 3.984 kB / 270.9 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.00467, allocations: 56.27 kB / 271 MB, free: 2.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.004671, allocations: 0 / 271 MB, free: 2.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.004776, allocations: 122.8 kB / 271.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.004818, allocations: 77.11 kB / 271.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.122e-05/0.004859, allocations: 89.86 kB / 271.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.004872, allocations: 33.64 kB / 271.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.004901, allocations: 84.12 kB / 271.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.004916, allocations: 3.953 kB / 271.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.004942, allocations: 9.719 kB / 271.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.005034, allocations: 318.8 kB / 271.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.005051, allocations: 29.69 kB / 271.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.005066, allocations: 29.7 kB / 271.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.005106, allocations: 64.45 kB / 271.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.005107, allocations: 0 / 271.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.723e-05/0.005155, allocations: 85.09 kB / 271.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.005184, allocations: 37.7 kB / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.005187, allocations: 0 / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.005192, allocations: 0 / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.005195, allocations: 7.875 kB / 272 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-06/0.005196, allocations: 0 / 272 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.005206, allocations: 0 / 272 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005211, allocations: 3.938 kB / 272 MB, free: 1.484 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 6.942e-05/0.005281, allocations: 139.6 kB / 272.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.005286, allocations: 3.984 kB / 272.1 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-06/0.005293, allocations: 7 kB / 272.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005296, allocations: 4 kB / 272.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.005297, allocations: 0 / 272.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.0053, allocations: 0 / 272.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.186e-05/0.005342, allocations: 61.84 kB / 272.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005342, allocations: 0 / 272.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.005343, allocations: 4 kB / 272.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-06/0.005345, allocations: 0 / 272.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.005346, allocations: 4 kB / 272.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.00535, allocations: 0 / 272.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.00535, allocations: 0 / 272.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005351, allocations: 0 / 272.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/0.005417, allocations: 120.4 kB / 272.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.005427, allocations: 3.984 kB / 272.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-06/0.005431, allocations: 0 / 272.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.005441, allocations: 7.984 kB / 272.3 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.005442, allocations: 0 / 272.3 MB, free: 1.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.001e-06/0.005448, allocations: 4.859 kB / 272.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005448, allocations: 0 / 272.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000191/0.005639, allocations: 71.83 kB / 272.4 MB, free: 0.9961 MB / 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.0003179/0.005957, allocations: 179.8 kB / 272.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.006035, allocations: 119.7 kB / 272.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.006037, allocations: 0 / 272.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.006074, allocations: 89.97 kB / 272.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.257e-05/0.006117, allocations: 11.88 kB / 272.8 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001263/0.006243, allocations: 111.9 kB / 272.9 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.934e-05/0.006272, allocations: 55.36 kB / 272.9 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.468e-06/0.006277, allocations: 0 / 272.9 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.006311, allocations: 55.5 kB / 273 MB, free: 284 kB / 266.7 MB Notification: Performance of SimCode: time 3e-07/0.006311, allocations: 0 / 273 MB, free: 284 kB / 266.7 MB Notification: Performance of Templates: time 0.002631/0.008942, allocations: 1.499 MB / 274.5 MB, free: 14.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.581233425065875]