Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009298/0.0009298, allocations: 80.92 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.001014/0.001014, allocations: 169 kB / 24.91 MB, free: 8.723 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.9237/0.9237, allocations: 177.1 MB / 205.3 MB, free: 4.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.1352/0.1352, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.903e-05, allocations: 2.312 kB / 323.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002903/0.002922, allocations: 1.759 MB / 325.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.00381, allocations: 0.5568 MB / 325.6 MB, free: 400 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.003858, allocations: 4 kB / 325.6 MB, free: 396 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.004073, allocations: 59.67 kB / 325.7 MB, free: 336 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.004316, allocations: 99.52 kB / 325.8 MB, free: 236 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.004625, allocations: 127.6 kB / 325.9 MB, free: 108 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.004783, allocations: 91.69 kB / 326 MB, free: 16 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004886, allocations: 16.28 kB / 326 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.004973, allocations: 47.83 kB / 326 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.005064, allocations: 43.88 kB / 326.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.005079, allocations: 4 kB / 326.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.005176, allocations: 47.92 kB / 326.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.005241, allocations: 27.91 kB / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/0.005264, allocations: 15.94 kB / 326.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.005437, allocations: 95.59 kB / 326.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005438, allocations: 0 / 326.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005439, allocations: 4 kB / 326.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005443, allocations: 0 / 326.3 MB, free: 15.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003539/0.005797, allocations: 312.2 kB / 326.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.005836, allocations: 15.98 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.005866, allocations: 8.922 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.006015, allocations: 148.4 kB / 326.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.006024, allocations: 384 / 326.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.006041, allocations: 4.375 kB / 326.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.006132, allocations: 62.94 kB / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.006139, allocations: 192 / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.006146, allocations: 12.12 kB / 326.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.00615, allocations: 0 / 326.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.006175, allocations: 19.91 kB / 326.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.006385, allocations: 180.2 kB / 327 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.006511, allocations: 30.58 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.006533, allocations: 16.88 kB / 327.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.006548, allocations: 4 kB / 327.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.006572, allocations: 34.5 kB / 327.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.006573, allocations: 0 / 327.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005729/0.007146, allocations: 209.4 kB / 327.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.007178, allocations: 51.41 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.007312, allocations: 171.1 kB / 327.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.007325, allocations: 25.7 kB / 327.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.007365, allocations: 96.06 kB / 327.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.007397, allocations: 31.7 kB / 327.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.00744, allocations: 29.69 kB / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.007534, allocations: 334.7 kB / 328 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.007556, allocations: 8 kB / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.007585, allocations: 11.98 kB / 328.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.768e-05/0.007642, allocations: 40.77 kB / 328.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007643, allocations: 0 / 328.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.7e-05/0.00774, allocations: 65.67 kB / 328.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.007753, allocations: 7.984 kB / 328.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007757, allocations: 4 kB / 328.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007768, allocations: 0 / 328.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.007853, allocations: 23.92 kB / 328.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.007857, allocations: 8 kB / 328.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.007891, allocations: 4 kB / 328.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007897, allocations: 0.5625 kB / 328.2 MB, free: 13.63 MB / 314.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 (11): * Single equations (assignments): 11 * 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 6.656e-05/0.007964, allocations: 120.6 kB / 328.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.007994, allocations: 8 kB / 328.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.00813, allocations: 90.31 kB / 328.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.008134, allocations: 8 kB / 328.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.008135, allocations: 0 / 328.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.00814, allocations: 3.984 kB / 328.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.008463, allocations: 280.3 kB / 328.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008465, allocations: 0 / 328.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.008546, allocations: 27.92 kB / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.00855, allocations: 4 kB / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.008557, allocations: 0 / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008558, allocations: 0 / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.00856, allocations: 4 kB / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.469e-05/0.008655, allocations: 181.1 kB / 328.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.008664, allocations: 7.953 kB / 328.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.008674, allocations: 8.062 kB / 328.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.008713, allocations: 4 kB / 328.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.008745, allocations: 15.92 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.008752, allocations: 3.984 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.008804, allocations: 44.31 kB / 329 MB, free: 12.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008804, allocations: 0 / 329 MB, free: 12.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.009041, allocations: 27.92 kB / 329 MB, free: 12.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002/0.01104, allocations: 0.5742 MB / 329.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01116, allocations: 56.7 kB / 329.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01116, allocations: 0 / 329.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.01121, allocations: 32.78 kB / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.01138, allocations: 19.98 kB / 329.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.01178, allocations: 258.9 kB / 330 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.224e-05/0.01183, allocations: 71.33 kB / 330 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.01189, allocations: 16.48 kB / 330 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.01197, allocations: 67.38 kB / 330.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01197, allocations: 0 / 330.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Templates: time 0.004045/0.01601, allocations: 1.671 MB / 331.8 MB, free: 10.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.9213038440793753]