Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.0009264/0.0009264, 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.0009961/0.0009961, allocations: 171.9 kB / 24.92 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 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.253/0.253, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,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.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.531e-05, allocations: 2.969 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002227/0.002243, allocations: 1.739 MB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.003797, allocations: 1.301 MB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.003853, allocations: 0 / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.004035, allocations: 19.8 kB / 326.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.00429, allocations: 87.48 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.004531, allocations: 131.6 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.004651, allocations: 71.77 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.004728, allocations: 16.61 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.303e-05/0.004791, allocations: 35.91 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.004887, allocations: 31.89 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.0049, allocations: 4 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.005058, allocations: 103.8 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.005107, allocations: 11.98 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.005129, allocations: 19.92 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.005312, allocations: 143.5 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005313, allocations: 0 / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005314, allocations: 0 / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.005318, allocations: 0 / 327 MB, free: 5.93 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.0003329/0.005651, allocations: 313.4 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.005681, allocations: 8.031 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.005714, allocations: 8.922 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.005852, allocations: 132.7 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.005861, allocations: 8.375 kB / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.005879, allocations: 384 / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.006, allocations: 110.3 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.006009, allocations: 4.141 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.006017, allocations: 4.125 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.006021, allocations: 0 / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.006047, allocations: 15.92 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.00624, allocations: 160.2 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/0.006291, allocations: 34.62 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.006306, allocations: 12.8 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.006323, allocations: 4 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.006345, allocations: 42.44 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.006346, allocations: 0 / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002931/0.006639, allocations: 109.8 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.006672, allocations: 81.11 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.00677, allocations: 140.8 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.00678, allocations: 25.7 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.006813, allocations: 96.06 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.006835, allocations: 23.78 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.006865, allocations: 21.72 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.006937, allocations: 318.8 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.006949, allocations: 12 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.006979, allocations: 43.42 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.007017, allocations: 28.81 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007018, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.244e-05/0.007081, allocations: 57.56 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.007093, allocations: 4 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007097, allocations: 0 / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.007108, allocations: 4 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.007172, allocations: 19.98 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.007175, allocations: 0 / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.007199, allocations: 12.02 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.007204, allocations: 0 / 328.8 MB, free: 3.93 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 (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.198e-05/0.007256, allocations: 112.7 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.007276, allocations: 11.94 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.00737, allocations: 78.61 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007372, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007373, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007376, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.007561, allocations: 230.7 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007562, allocations: 0 / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.0076, allocations: 20 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.007602, allocations: 3.984 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.007606, allocations: 0 / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.007608, allocations: 3.938 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007609, allocations: 0 / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.62e-05/0.007695, allocations: 159.5 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.007705, allocations: 11.95 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007716, allocations: 4 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.007753, allocations: 4 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.007778, allocations: 7.922 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00778, allocations: 4 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.846e-05/0.007809, allocations: 35.02 kB / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007809, allocations: 0 / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.007975, allocations: 43.86 kB / 329.5 MB, free: 3.156 MB / 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 (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.001353/0.009328, allocations: 0.6174 MB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.009423, allocations: 28.84 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.009427, allocations: 0 / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.009453, allocations: 24.78 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.009623, allocations: 34.98 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.009937, allocations: 194.5 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.009976, allocations: 63.34 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.444e-05/0.01002, allocations: 12.31 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.01009, allocations: 63.36 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01009, allocations: 4 kB / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003773/0.01386, allocations: 2.125 MB / 332.7 MB, free: 288 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.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.9671389148570597]