Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.0008906/0.0008906, 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.001062/0.001062, allocations: 169.6 kB / 24.91 MB, free: 8.727 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.9359/0.9359, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2488/0.2488, allocations: 32.8 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.CombiTable2Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 3.938 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.668e-05, allocations: 11.19 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002393/0.00241, allocations: 1.694 MB / 325 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.003242, allocations: 0.5567 MB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.003285, allocations: 0 / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.003484, allocations: 71.77 kB / 325.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.003706, allocations: 111.5 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.003951, allocations: 131.6 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.004073, allocations: 83.75 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.005725, allocations: 20.84 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.005926, allocations: 51.88 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.006072, allocations: 47.88 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.006095, allocations: 4 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.006242, allocations: 51.86 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.006337, allocations: 23.92 kB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.00637, allocations: 27.84 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.006598, allocations: 95.66 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.006604, allocations: 0 / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.006606, allocations: 0 / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.006613, allocations: 0 / 326.2 MB, free: 6.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004154/0.007028, allocations: 325.4 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.00707, allocations: 8.031 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.007113, allocations: 8.938 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.007321, allocations: 147.4 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.007337, allocations: 4.375 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.007371, allocations: 12.38 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.007523, allocations: 74.8 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007533, allocations: 192 / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.007545, allocations: 4.125 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.00755, allocations: 0 / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.00758, allocations: 12 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.007863, allocations: 176.2 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.008022, allocations: 34.56 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.008041, allocations: 8.859 kB / 327 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.008062, allocations: 0 / 327 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.00809, allocations: 42.48 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.008092, allocations: 0 / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005449/0.008637, allocations: 214.2 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.008673, allocations: 55.41 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.008799, allocations: 172.8 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.008813, allocations: 33.7 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.008853, allocations: 96.81 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.008888, allocations: 39.67 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.00893, allocations: 25.7 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.009027, allocations: 326.8 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.009049, allocations: 15.98 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.009068, allocations: 13.03 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.009121, allocations: 41.8 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009123, allocations: 0 / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.042e-05/0.009213, allocations: 65.61 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.009227, allocations: 4 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009233, allocations: 4 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.009245, allocations: 0 / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.009319, allocations: 20.55 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.009323, allocations: 0 / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.00935, allocations: 15.94 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.009359, allocations: 7.984 kB / 328.2 MB, free: 4.566 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 (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 7.014e-05/0.00943, allocations: 124.5 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.009452, allocations: 12 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.009592, allocations: 85.19 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009596, allocations: 4 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.009597, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009601, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.009886, allocations: 288.2 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009889, allocations: 4.062 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.009945, allocations: 19.98 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.009949, allocations: 4 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.009957, allocations: 4 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009959, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.009963, allocations: 7.984 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.01008, allocations: 181 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.01009, allocations: 7.953 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.0101, allocations: 8 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.01015, allocations: 7.984 kB / 328.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.01018, allocations: 19.92 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.01019, allocations: 0 / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.01024, allocations: 59.62 kB / 329 MB, free: 3.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01024, allocations: 0 / 329 MB, free: 3.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.01039, allocations: 27.94 kB / 329 MB, free: 3.645 MB / 298.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.001354/0.01175, allocations: 0.5694 MB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.01189, allocations: 52.7 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.01189, allocations: 8 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.01193, allocations: 24.8 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.01212, allocations: 30.94 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.01251, allocations: 268.1 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.01256, allocations: 75.33 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.0126, allocations: 12.48 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.01266, allocations: 59.38 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.01267, allocations: 3.938 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of Templates: time 0.004011/0.01668, allocations: 1.681 MB / 331.8 MB, free: 1.133 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.8514325227588415]