Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009026/0.0009026, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.0009487/0.0009487, allocations: 165.8 kB / 24.82 MB, free: 8.387 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.9481/0.9481, allocations: 177.1 MB / 205.3 MB, free: 5.152 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.2379/0.2379, allocations: 32.81 MB / 294.6 MB, free: 1.211 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.236e-05, allocations: 6.312 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00227/0.002293, allocations: 1.7 MB / 378.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003509, allocations: 1.286 MB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.003579, allocations: 0 / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.003754, allocations: 31.78 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.004034, allocations: 87.55 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.004271, allocations: 119.6 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.004391, allocations: 83.7 kB / 379.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.004473, allocations: 11.98 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.004537, allocations: 39.89 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.004619, allocations: 27.92 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.004632, allocations: 4 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.00476, allocations: 91.81 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.00481, allocations: 27.91 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.004829, allocations: 15.92 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.00501, allocations: 135.5 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005012, allocations: 0 / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005013, allocations: 4 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.005016, allocations: 0 / 380.1 MB, free: 0.7383 MB / 346.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.0003719/0.005388, allocations: 435.9 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.005421, allocations: 12.03 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.005454, allocations: 12.89 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.00558, allocations: 140.4 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.005587, allocations: 384 / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.005604, allocations: 4.375 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005729, allocations: 108 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.005737, allocations: 192 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005744, allocations: 4.125 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005749, allocations: 4 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.005772, allocations: 7.984 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.00598, allocations: 268.3 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.006032, allocations: 43.11 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.006047, allocations: 11.69 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.006065, allocations: 0 / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.006089, allocations: 41.33 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.00609, allocations: 0 / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000282/0.006372, allocations: 113.6 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.006406, allocations: 81.05 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.006504, allocations: 196.2 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006516, allocations: 29.7 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.006564, allocations: 146.8 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.006584, allocations: 27.78 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.006613, allocations: 23.38 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006721, allocations: 0.4923 MB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.006735, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.00677, allocations: 53.06 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.5e-05/0.006805, allocations: 31.89 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006806, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.32e-05/0.006879, allocations: 69.52 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.00689, allocations: 16.02 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.006894, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.006905, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.006962, allocations: 12 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.006965, allocations: 3.984 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.00699, allocations: 15.94 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.006997, allocations: 4 kB / 382.5 MB, free: 14.13 MB / 362.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 (7): * Single equations (assignments): 7 * 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.881e-05/0.007056, allocations: 152.6 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.007079, allocations: 15.89 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.007191, allocations: 90.3 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.007194, allocations: 4 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.007195, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.007198, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.007413, allocations: 310 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007415, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.007455, allocations: 19.92 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007456, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.007461, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007462, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007463, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.007573, allocations: 219.8 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.007586, allocations: 11.94 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007601, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.007667, allocations: 4 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.007697, allocations: 7.984 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.007702, allocations: 0 / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.007e-05/0.007772, allocations: 144.9 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007772, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.007979, allocations: 43.86 kB / 383.5 MB, free: 13.05 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009068/0.008886, allocations: 0.4908 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.164e-05/0.008967, allocations: 31.67 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008969, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.008995, allocations: 31.59 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.009181, allocations: 27.86 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.009455, allocations: 193.1 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.009488, allocations: 59.34 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.874e-05/0.009527, allocations: 15.97 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.009592, allocations: 90.17 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009593, allocations: 4 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003281/0.01287, allocations: 2.192 MB / 386.6 MB, free: 10.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.854728362057358]