Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001137/0.001137, 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.00158/0.00158, 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.958/0.958, 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.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.2481/0.2481, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 4 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.52e-05, allocations: 4.547 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002092/0.002107, allocations: 1.647 MB / 324.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.002877, allocations: 0.553 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.002921, allocations: 0 / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.003138, allocations: 115.6 kB / 325.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.0034, allocations: 143.4 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.003663, allocations: 111.7 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.003818, allocations: 99.67 kB / 325.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.003893, allocations: 19.97 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.003963, allocations: 47.89 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.004064, allocations: 79.83 kB / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.004075, allocations: 0 / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.004149, allocations: 55.91 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.004187, allocations: 23.88 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.00421, allocations: 15.92 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004345, allocations: 103.5 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004347, allocations: 4 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004347, allocations: 0 / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.004351, allocations: 0 / 326.2 MB, free: 6.676 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.0002691/0.00462, allocations: 341.2 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.004647, allocations: 8.031 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.00467, allocations: 8.938 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.004783, allocations: 145.6 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.004792, allocations: 12.31 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.004808, allocations: 384 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.004884, allocations: 62.92 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004892, allocations: 4.188 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.0049, allocations: 4.125 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004904, allocations: 0 / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.004925, allocations: 11.98 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.005121, allocations: 179.7 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.562e-05/0.005167, allocations: 37.33 kB / 327 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.005186, allocations: 12.94 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.005201, allocations: 8 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.005224, allocations: 34.5 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.005225, allocations: 3.938 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003735/0.005598, allocations: 145.5 kB / 327.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.005624, allocations: 51.41 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.005739, allocations: 217.1 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.005748, allocations: 25.7 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.00578, allocations: 100.1 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.005802, allocations: 35.73 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.005829, allocations: 17.72 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.005906, allocations: 330.8 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.005918, allocations: 4 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.005931, allocations: 8 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.005964, allocations: 31.66 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005966, allocations: 3.984 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.392e-05/0.00602, allocations: 53.62 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.00603, allocations: 8 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.006033, allocations: 3.938 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.006042, allocations: 4 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.006092, allocations: 15.98 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.006094, allocations: 0 / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.006112, allocations: 8 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.006118, allocations: 3.984 kB / 328.1 MB, free: 4.609 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 5.152e-05/0.00617, allocations: 112.7 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.006189, allocations: 11.94 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.006292, allocations: 83.36 kB / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006293, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006294, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006297, allocations: 4 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.006517, allocations: 263.4 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006518, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.006549, allocations: 15.98 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006552, allocations: 4 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.006557, allocations: 7.938 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.006559, allocations: 4 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00656, allocations: 0 / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.006657, allocations: 168.2 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.00667, allocations: 11.91 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.006681, allocations: 4.031 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.006716, allocations: 11.98 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.006739, allocations: 0 / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006743, allocations: 4 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.006799, allocations: 72.59 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006799, allocations: 0 / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000134/0.006933, allocations: 20 kB / 328.9 MB, free: 3.758 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.00122/0.008153, allocations: 0.5784 MB / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.008256, allocations: 36.72 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.008263, allocations: 4 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.00829, allocations: 24.78 kB / 329.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.008431, allocations: 20.3 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.008731, allocations: 265 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.008772, allocations: 71.33 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.008802, allocations: 8.734 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.008854, allocations: 63.36 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008854, allocations: 0 / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of Templates: time 0.002868/0.01172, allocations: 1.546 MB / 331.5 MB, free: 1.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.915577922016382]