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.0007825/0.0007825, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001886, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007372/0.0007372, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009708/0.001708, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.118, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.317/0.317, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02862/0.3456, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.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 2.455e-06/2.455e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.643e-05, allocations: 3.297 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002426/0.002442, allocations: 1.737 MB / 292.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004162, allocations: 1.325 MB / 293.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.004232, allocations: 0 / 293.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.00438, allocations: 24 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.004635, allocations: 89 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.004895, allocations: 127.6 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.005036, allocations: 75.72 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.005131, allocations: 11.98 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.005248, allocations: 63.77 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.00536, allocations: 23.97 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.005379, allocations: 11.94 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.00557, allocations: 95.88 kB / 294.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.005625, allocations: 11.94 kB / 294.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.005646, allocations: 11.94 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.005844, allocations: 135.5 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.795e-05/0.005862, allocations: 0 / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005862, allocations: 0 / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.005881, allocations: 0 / 294.4 MB, free: 4.539 MB / 282.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.0004899/0.006371, allocations: 324.6 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.006406, allocations: 8.031 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.006456, allocations: 8.938 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.00663, allocations: 129.7 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.006641, allocations: 4.375 kB / 294.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.006662, allocations: 4.375 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.006826, allocations: 102.3 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.006839, allocations: 4.172 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.00685, allocations: 12.06 kB / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.006858, allocations: 0 / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.006891, allocations: 7.938 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.007146, allocations: 168.2 kB / 295.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/0.007213, allocations: 30.58 kB / 295.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.007233, allocations: 12.94 kB / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.007258, allocations: 0 / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.007287, allocations: 42.44 kB / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.007288, allocations: 0 / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003656/0.007653, allocations: 105.5 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.007688, allocations: 55.41 kB / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.00779, allocations: 134.7 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.007803, allocations: 29.7 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.007847, allocations: 92.12 kB / 295.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.007873, allocations: 27.73 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.007906, allocations: 25.7 kB / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.008001, allocations: 314.8 kB / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.008015, allocations: 7.984 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.353e-05/0.008049, allocations: 47.41 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.008082, allocations: 24.84 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.008082, allocations: 0 / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.482e-05/0.008147, allocations: 61.78 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.008161, allocations: 5.875 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.008168, allocations: 80 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.00818, allocations: 4.031 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.008264, allocations: 19.98 kB / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008269, allocations: 3.984 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.008295, allocations: 12 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.008301, allocations: 3.984 kB / 296.2 MB, free: 2.562 MB / 282.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 8.377e-05/0.008385, allocations: 112.7 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.008404, allocations: 7.938 kB / 296.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.008534, allocations: 78.36 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008537, allocations: 0 / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.00854, allocations: 4 kB / 296.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008544, allocations: 0 / 296.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.008785, allocations: 226.6 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.008788, allocations: 0 / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.008836, allocations: 23.98 kB / 296.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.00885, allocations: 11.94 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.008853, allocations: 288 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.008859, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.00886, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008861, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.008971, allocations: 151.5 kB / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.008985, allocations: 11.98 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.009021, allocations: 4 kB / 296.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.00906, allocations: 11.92 kB / 296.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009064, allocations: 0 / 296.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.192e-05/0.009096, allocations: 28.83 kB / 296.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009096, allocations: 0 / 296.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.009286, allocations: 43.86 kB / 296.9 MB, free: 1.801 MB / 282.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.001847/0.01113, allocations: 0.6984 MB / 297.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01125, allocations: 32.84 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.01126, allocations: 0 / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.01129, allocations: 28.77 kB / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.01149, allocations: 27.92 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.01208, allocations: 190.6 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.01214, allocations: 59.34 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.01e-05/0.0122, allocations: 20.28 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.01233, allocations: 71.34 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01233, allocations: 0 / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Templates: time 0.004292/0.01662, allocations: 2.149 MB / 300.1 MB, free: 14.88 MB / 298.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 -ignoreHideResult -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: 3.264863562770188]