Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.0009546/0.0009546, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001035/0.001035, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.9945/0.9945, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2615/0.2615, allocations: 32.8 MB / 294.6 MB, free: 1.281 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.326e-05, allocations: 2.312 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002091/0.002105, allocations: 2.039 MB / 378 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003246, allocations: 1 MB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.003334, allocations: 4 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.00367, allocations: 263 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.004, allocations: 270.8 kB / 379.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.004548, allocations: 478.8 kB / 380 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.004847, allocations: 335 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004967, allocations: 48.89 kB / 380.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.005098, allocations: 175.5 kB / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.005259, allocations: 195.5 kB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.005278, allocations: 12 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.005389, allocations: 103.8 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.005485, allocations: 103.7 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.005529, allocations: 55.72 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.005777, allocations: 258.9 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005779, allocations: 0 / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.00578, allocations: 0 / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005783, allocations: 3.938 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005862/0.006369, allocations: 0.6932 MB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.0064, allocations: 11.98 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.006462, allocations: 60.55 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.006687, allocations: 262.8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.006699, allocations: 12.38 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.006722, allocations: 12.33 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.006866, allocations: 102.8 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006876, allocations: 192 / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.006887, allocations: 8.125 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.006896, allocations: 4 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.006962, allocations: 40.56 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.007376, allocations: 471.3 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.007473, allocations: 82.91 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.007504, allocations: 27.67 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.007521, allocations: 4 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.007541, allocations: 37.39 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.007542, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005071/0.008049, allocations: 332.3 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.008077, allocations: 55.41 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.008397, allocations: 482.9 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.008409, allocations: 25.7 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.008522, allocations: 271.1 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.008557, allocations: 55.48 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.008598, allocations: 39.38 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.008735, allocations: 0.5352 MB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.008776, allocations: 31.89 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.008813, allocations: 19.98 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.008907, allocations: 77.55 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008908, allocations: 4 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001671/0.009075, allocations: 167.6 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.009087, allocations: 11.94 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.009091, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.009103, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.009193, allocations: 31.98 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.009198, allocations: 4 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.009229, allocations: 11.98 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.009237, allocations: 4 kB / 385.2 MB, free: 11.5 MB / 362.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 (17): * Single equations (assignments): 17 * 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.371e-05/0.00931, allocations: 160.5 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.009357, allocations: 51.72 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.009726, allocations: 177.6 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009728, allocations: 0 / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.009731, allocations: 0 / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.009734, allocations: 4 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.01018, allocations: 0.5695 MB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01018, allocations: 0 / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.01025, allocations: 35.92 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01025, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01026, allocations: 4 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01026, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01026, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.01045, allocations: 323.3 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.01047, allocations: 27.77 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.0105, allocations: 7.938 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.01054, allocations: 12 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.01057, allocations: 11.97 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01058, allocations: 4 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.01078, allocations: 331 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01078, allocations: 0 / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000188/0.01096, allocations: 51.89 kB / 387 MB, free: 9.676 MB / 362.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 (17): * Single equations (assignments): 17 * 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.001534/0.0125, allocations: 0.6548 MB / 387.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01266, allocations: 95.48 kB / 387.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01266, allocations: 0 / 387.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.01272, allocations: 66.25 kB / 387.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.01303, allocations: 84.06 kB / 387.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.01369, allocations: 0.573 MB / 388.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.01376, allocations: 112.3 kB / 388.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.558e-05/0.01384, allocations: 53.89 kB / 388.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.01389, allocations: 32.5 kB / 388.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01389, allocations: 0 / 388.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005113/0.019, allocations: 3.349 MB / 392 MB, free: 4.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.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.1904829659033567]