Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001272/0.001272, allocations: 80.8 kB / 21.5 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.00159/0.00159, allocations: 168 kB / 24.91 MB, free: 8.262 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.062/1.062, allocations: 177.2 MB / 205.3 MB, free: 5.445 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.2611/0.2611, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.159e-05, allocations: 3.406 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002299/0.002321, allocations: 1.733 MB / 325 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.003063, allocations: 0.5529 MB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.003113, allocations: 0 / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.003573, allocations: 455.1 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.003891, allocations: 291.1 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.004106, allocations: 131.6 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.004291, allocations: 175.6 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.004388, allocations: 20.47 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.004505, allocations: 115.8 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.004674, allocations: 203.6 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.00469, allocations: 4 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.004762, allocations: 35.92 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.004846, allocations: 79.72 kB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.004879, allocations: 43.72 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005065, allocations: 203.1 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005067, allocations: 0 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005068, allocations: 0 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005071, allocations: 0 / 327.3 MB, free: 5.594 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.0004211/0.005492, allocations: 0.55 MB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.005526, allocations: 12.03 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.005562, allocations: 28.91 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.005729, allocations: 238.1 kB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.005736, allocations: 4.375 kB / 328.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.005751, allocations: 4.375 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.00584, allocations: 66.86 kB / 328.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005847, allocations: 192 / 328.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.005857, allocations: 12.11 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.005862, allocations: 0 / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.005884, allocations: 8 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.006071, allocations: 164.3 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.006119, allocations: 26.52 kB / 328.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.006133, allocations: 8.859 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.00615, allocations: 4 kB / 328.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.00617, allocations: 42.58 kB / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.006171, allocations: 0 / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003059/0.006477, allocations: 125.5 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.006501, allocations: 51.41 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.006802, allocations: 0.5361 MB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.006812, allocations: 25.7 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.006863, allocations: 137.3 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.006886, allocations: 31.77 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.00691, allocations: 13.72 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.007001, allocations: 366.7 kB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.007015, allocations: 4 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.007027, allocations: 7.938 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.007059, allocations: 32.77 kB / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.00706, allocations: 0 / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003891/0.007449, allocations: 73.59 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007461, allocations: 8 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007466, allocations: 0 / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.007476, allocations: 0 / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.007542, allocations: 15.98 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.007545, allocations: 0 / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.007573, allocations: 7.984 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007579, allocations: 4 kB / 329.9 MB, free: 2.852 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 7.08e-05/0.00765, allocations: 116.6 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.007677, allocations: 27.91 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.007803, allocations: 97.84 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007805, allocations: 4 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007807, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.00781, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.008052, allocations: 290.6 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008054, allocations: 4 kB / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.008096, allocations: 15.98 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008099, allocations: 288 / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.008104, allocations: 0 / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008105, allocations: 0 / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.008107, allocations: 0 / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.393e-05/0.008201, allocations: 179.4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.008224, allocations: 39.66 kB / 330.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.008239, allocations: 3.984 kB / 330.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.00828, allocations: 4 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.008308, allocations: 11.97 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.008311, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.008482, allocations: 283.2 kB / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008482, allocations: 0 / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.008616, allocations: 24 kB / 331 MB, free: 1.715 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.001041/0.009657, allocations: 0.4999 MB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.009736, allocations: 36.77 kB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.009742, allocations: 4 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.009763, allocations: 20.84 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.00996, allocations: 29.89 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.0106, allocations: 0.5854 MB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.192e-05/0.01068, allocations: 119.2 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.01072, allocations: 20.28 kB / 332.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01079, allocations: 59.38 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01079, allocations: 0 / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of Templates: time 0.003822/0.01461, allocations: 1.574 MB / 333.9 MB, free: 14.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.9263552320189774]