Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001357/0.001357, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001535/0.001535, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9425/0.9425, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2538/0.2538, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.377e-05, allocations: 4.109 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002786/0.00281, allocations: 1.66 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.003724, allocations: 0.5413 MB / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.003776, allocations: 0 / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.004093, allocations: 127.6 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.004394, allocations: 139.4 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.004676, allocations: 115.6 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.004844, allocations: 96.42 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.00493, allocations: 11.98 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.005018, allocations: 59.81 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.005135, allocations: 71.84 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.00515, allocations: 8 kB / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.005243, allocations: 47.86 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.005293, allocations: 23.92 kB / 328.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.005328, allocations: 27.84 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.0055, allocations: 99.66 kB / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005501, allocations: 0 / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005502, allocations: 0 / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.005506, allocations: 0 / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003748/0.005881, allocations: 337.3 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.005913, allocations: 8.031 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.005948, allocations: 20.88 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.006102, allocations: 145.6 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.006112, allocations: 384 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.006135, allocations: 8.375 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.006234, allocations: 54.94 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.006244, allocations: 192 / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.006254, allocations: 8.125 kB / 328.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006259, allocations: 0 / 328.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.006289, allocations: 15.97 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.006542, allocations: 179 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.11e-05/0.006603, allocations: 33.47 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.00662, allocations: 12.86 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.006634, allocations: 0 / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.006659, allocations: 38.58 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.00666, allocations: 4 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005001/0.00716, allocations: 141.9 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.007195, allocations: 55.41 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.007367, allocations: 209.2 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.007381, allocations: 33.7 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.007422, allocations: 100.1 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.00745, allocations: 27.73 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.007487, allocations: 21.72 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.007584, allocations: 330.8 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.007601, allocations: 7.938 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.007619, allocations: 7.984 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.007665, allocations: 27.67 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.007666, allocations: 0 / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001262/0.007792, allocations: 73.77 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.007803, allocations: 4 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007807, allocations: 4 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.00782, allocations: 0 / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.0079, allocations: 15.98 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.007904, allocations: 4 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.007931, allocations: 0 / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.00794, allocations: 4 kB / 330.2 MB, free: 2.598 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.034e-05/0.00801, allocations: 116.7 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.008042, allocations: 11.94 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.008176, allocations: 79.05 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008178, allocations: 0 / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.008181, allocations: 12 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.008183, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.008496, allocations: 263.4 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008497, allocations: 0 / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.008553, allocations: 16 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008555, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.008562, allocations: 3.984 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.008566, allocations: 4 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.008568, allocations: 3.938 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008687, allocations: 156.3 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.008704, allocations: 19.92 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.00872, allocations: 8 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.008781, allocations: 0 / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.008807, allocations: 7.984 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.008812, allocations: 432 / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.008892, allocations: 76.61 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.008892, allocations: 0 / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.009136, allocations: 16 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001773/0.01091, allocations: 0.5831 MB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.276e-05/0.011, allocations: 40.77 kB / 331.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.011, allocations: 0 / 331.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.01104, allocations: 28.78 kB / 331.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01126, allocations: 16.06 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.01166, allocations: 260.9 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.01172, allocations: 79.31 kB / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.652e-05/0.01177, allocations: 9.047 kB / 332 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.01184, allocations: 67.36 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01184, allocations: 4 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of Templates: time 0.003943/0.01578, allocations: 1.537 MB / 333.6 MB, free: 15.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.9735838123597205]