Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001113/0.001113, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001909/0.003022, allocations: 449.8 kB / 10.44 MB, free: 252 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.001157/0.001157, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002265, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09693/1.118, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2443/0.2443, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02248/0.2668, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.537e-05, allocations: 5.281 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003076/0.003102, allocations: 1.748 MB / 294.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.004917, allocations: 1.329 MB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.004973, allocations: 4 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.005144, allocations: 27.73 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.005445, allocations: 83.48 kB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.005768, allocations: 127.6 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.00592, allocations: 83.7 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.006009, allocations: 11.98 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.006144, allocations: 55.83 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.006263, allocations: 19.92 kB / 296.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.00628, allocations: 4 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.006507, allocations: 107.7 kB / 296.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.006563, allocations: 12 kB / 296.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.006587, allocations: 11.94 kB / 296.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.006839, allocations: 131.5 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.006852, allocations: 0 / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006853, allocations: 8 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.006863, allocations: 0 / 296.6 MB, free: 2.41 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.0004821/0.007345, allocations: 321.2 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.00738, allocations: 12.03 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.007422, allocations: 8.922 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.007598, allocations: 131.4 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.007607, allocations: 4.312 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.007631, allocations: 4.375 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.007781, allocations: 102.3 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.00779, allocations: 4.188 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-06/0.0078, allocations: 4.125 kB / 297.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007806, allocations: 4 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.114e-05/0.007837, allocations: 7.984 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.008077, allocations: 176.2 kB / 297.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.008144, allocations: 26.58 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.008164, allocations: 8.859 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.008183, allocations: 0 / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.008209, allocations: 34.59 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.008211, allocations: 4 kB / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.008619, allocations: 113.7 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.008647, allocations: 51.41 kB / 297.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.00876, allocations: 140.7 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.008773, allocations: 25.7 kB / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.008814, allocations: 92.06 kB / 297.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.008845, allocations: 35.72 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.008882, allocations: 13.72 kB / 297.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.008977, allocations: 322.8 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.008994, allocations: 4 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.009045, allocations: 59.45 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.009093, allocations: 24.84 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.009094, allocations: 0 / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.017e-05/0.009184, allocations: 61.61 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.009197, allocations: 4 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.009203, allocations: 48 / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009217, allocations: 7.922 kB / 298.4 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.00932, allocations: 23.98 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.009323, allocations: 0 / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.009359, allocations: 4 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.009365, allocations: 4.031 kB / 298.4 MB, free: 440 kB / 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 7.615e-05/0.009442, allocations: 116.7 kB / 298.5 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.009472, allocations: 11.92 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.009607, allocations: 70.38 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.009611, allocations: 4 kB / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009613, allocations: 0 / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009615, allocations: 0 / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.009902, allocations: 222.7 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009904, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.009983, allocations: 19.98 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.009998, allocations: 11.89 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.01001, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01001, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.01001, allocations: 3.984 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.01013, allocations: 151.9 kB / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01015, allocations: 0 / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.01023, allocations: 7.984 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.01026, allocations: 7.984 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01026, allocations: 4 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.017e-05/0.0103, allocations: 30.55 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0103, allocations: 4 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01057, allocations: 39.86 kB / 299.1 MB, free: 15.67 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.002054/0.01263, allocations: 0.7017 MB / 299.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.01274, allocations: 32.72 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.01275, allocations: 4 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.0128, allocations: 29.06 kB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.01309, allocations: 87.31 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.0137, allocations: 204 kB / 300.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.01374, allocations: 59.34 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.01382, allocations: 11.98 kB / 300.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.01389, allocations: 67.36 kB / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01389, allocations: 0 / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003594/0.01748, allocations: 2.155 MB / 302.4 MB, free: 12.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7921593552455306]