Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.0009521/0.0009521, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008514/0.0008514, allocations: 170 kB / 24.91 MB, free: 9.191 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.961/0.961, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 32.8 MB / 294.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.278e-05, allocations: 6.188 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002446/0.002468, allocations: 1.643 MB / 324.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009293/0.003398, allocations: 0.5336 MB / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.003453, allocations: 0 / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.00381, allocations: 135.4 kB / 325.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.004117, allocations: 123.5 kB / 325.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.004355, allocations: 91.62 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.004518, allocations: 103.7 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.004608, allocations: 12.62 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.004704, allocations: 59.86 kB / 325.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.004831, allocations: 71.84 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.004845, allocations: 4 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.004932, allocations: 43.92 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.004982, allocations: 35.84 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.005006, allocations: 7.938 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.005199, allocations: 107.5 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.0052, allocations: 0 / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005202, allocations: 4 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.005206, allocations: 4 kB / 326.2 MB, free: 6.668 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.0004009/0.005607, allocations: 341.2 kB / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.005647, allocations: 8.031 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.005689, allocations: 12.92 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.005855, allocations: 145.6 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.005865, allocations: 8.375 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.005885, allocations: 4.359 kB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.005974, allocations: 58.88 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005983, allocations: 192 / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005993, allocations: 20.11 kB / 326.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005998, allocations: 0 / 326.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.006024, allocations: 7.938 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.006244, allocations: 179 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.244e-05/0.006297, allocations: 34.5 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.006313, allocations: 12.94 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.006326, allocations: 0 / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.006352, allocations: 34.5 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.006353, allocations: 0 / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004584/0.006811, allocations: 145.6 kB / 327.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.006841, allocations: 51.41 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.006988, allocations: 213.1 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.006999, allocations: 29.7 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.007037, allocations: 104.1 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.007067, allocations: 23.75 kB / 327.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.007099, allocations: 21.7 kB / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.007183, allocations: 330.8 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.007197, allocations: 11.94 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.00721, allocations: 8 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.007248, allocations: 24.84 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007248, allocations: 0 / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.355e-05/0.007332, allocations: 69.59 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.007343, allocations: 4 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007347, allocations: 0 / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007358, allocations: 0 / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.007434, allocations: 19.92 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.007438, allocations: 0 / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.007464, allocations: 4 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.007471, allocations: 3.984 kB / 328.1 MB, free: 4.613 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 8.098e-05/0.007552, allocations: 120.7 kB / 328.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.007579, allocations: 7.938 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.007689, allocations: 79.42 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007691, allocations: 0 / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007692, allocations: 3.938 kB / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007695, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.007964, allocations: 263.4 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.007967, allocations: 4 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.008026, allocations: 12 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.00803, allocations: 8.031 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.008036, allocations: 0 / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.008039, allocations: 3.984 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.00804, allocations: 0 / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.008145, allocations: 172.2 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.008158, allocations: 11.91 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.008171, allocations: 0 / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.008222, allocations: 4 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.008255, allocations: 7.984 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.008258, allocations: 4 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.642e-05/0.008325, allocations: 64.62 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008325, allocations: 8 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.00854, allocations: 23.92 kB / 328.9 MB, free: 3.762 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.001507/0.01005, allocations: 0.5688 MB / 329.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.01013, allocations: 40.7 kB / 329.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.01014, allocations: 0 / 329.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.01016, allocations: 16.86 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01035, allocations: 24.3 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.0107, allocations: 256.9 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.01074, allocations: 71.39 kB / 329.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.01078, allocations: 16.72 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.01084, allocations: 63.38 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01084, allocations: 0 / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of Templates: time 0.003451/0.01429, allocations: 1.511 MB / 331.4 MB, free: 1.461 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.851240021176636]