Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001136/0.001136, 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.001088/0.001088, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2649/0.2649, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.163e-05, allocations: 3.016 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003155/0.003186, allocations: 1.697 MB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.004004, allocations: 0.5374 MB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.004053, allocations: 0 / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.004534, allocations: 451 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.004957, allocations: 299.1 kB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.005256, allocations: 123.6 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005475, allocations: 168.2 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.005577, allocations: 8 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.005703, allocations: 119.8 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.005888, allocations: 203.6 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.005904, allocations: 0 / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.005976, allocations: 27.88 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.006077, allocations: 87.69 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.006114, allocations: 35.75 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.006318, allocations: 187.2 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006322, allocations: 4 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006323, allocations: 0 / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.006328, allocations: 4 kB / 329.2 MB, free: 3.688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004601/0.006788, allocations: 0.5424 MB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.00682, allocations: 8.031 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.006861, allocations: 24.91 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.007076, allocations: 246 kB / 330 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.007083, allocations: 384 / 330 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.007091, allocations: 8.375 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.007187, allocations: 54.94 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.007193, allocations: 192 / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.0072, allocations: 4.125 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.007204, allocations: 4 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.00722, allocations: 8 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.007426, allocations: 164.3 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.007476, allocations: 26.56 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.007489, allocations: 4.859 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.007506, allocations: 4 kB / 330.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.007526, allocations: 30.56 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.007527, allocations: 0 / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.00765, allocations: 69.62 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.007676, allocations: 51.41 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.008043, allocations: 0.5322 MB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.00806, allocations: 29.69 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.008145, allocations: 137.3 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.008167, allocations: 11.91 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.008205, allocations: 13.72 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.008329, allocations: 362.6 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.008348, allocations: 4 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.008362, allocations: 4 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.0084, allocations: 12.84 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008402, allocations: 0 / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.727e-05/0.0085, allocations: 61.94 kB / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.008516, allocations: 11.94 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.008523, allocations: 7.984 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008535, allocations: 0 / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.008609, allocations: 4 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.008611, allocations: 4 kB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.008637, allocations: 3.938 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.008642, allocations: 0 / 331.6 MB, free: 1.098 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 (3): * Single equations (assignments): 3 * 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.987e-05/0.008722, allocations: 120.7 kB / 331.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.008749, allocations: 19.97 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.008872, allocations: 88.98 kB / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.008874, allocations: 4 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.008875, allocations: 0 / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008879, allocations: 3.984 kB / 331.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.009026, allocations: 133.8 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009027, allocations: 0 / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.00906, allocations: 7.984 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009062, allocations: 0 / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.009068, allocations: 4 kB / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.009069, allocations: 0 / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.009072, allocations: 3.938 kB / 332 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.009172, allocations: 159.5 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.009197, allocations: 31.72 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.009212, allocations: 0 / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.009251, allocations: 4 kB / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.009265, allocations: 7.922 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.009269, allocations: 4 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.009469, allocations: 283.2 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.009469, allocations: 0 / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000153/0.009622, allocations: 20 kB / 332.5 MB, free: 172 kB / 298.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 (3): * Single equations (assignments): 3 * 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.001006/0.01063, allocations: 434.1 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.0107, allocations: 16.8 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.01071, allocations: 4 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.01072, allocations: 12.8 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01093, allocations: 33.89 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/0.01154, allocations: 0.5709 MB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.01162, allocations: 119.2 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.524e-05/0.01165, allocations: 7.984 kB / 333.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.01171, allocations: 59.36 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01171, allocations: 0 / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.00384/0.01555, allocations: 1.273 MB / 335 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.9028783878311515]