Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001253/0.001253, 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.001622/0.001622, allocations: 172.6 kB / 24.92 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.973/0.973, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2576/0.2576, allocations: 32.8 MB / 294.6 MB, free: 1.266 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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.852e-05, allocations: 3.188 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002184/0.002203, allocations: 1.689 MB / 324.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003522, allocations: 1.324 MB / 326.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.003581, allocations: 7.938 kB / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.003779, allocations: 19.84 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.004084, allocations: 83.55 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.004396, allocations: 179.4 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.00452, allocations: 80.39 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.004598, allocations: 23.91 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.004654, allocations: 31.92 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.004738, allocations: 35.89 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004752, allocations: 4 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.004885, allocations: 87.88 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.004932, allocations: 23.92 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.004957, allocations: 19.91 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.005143, allocations: 139.5 kB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005144, allocations: 4 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005145, allocations: 7.938 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.005148, allocations: 0 / 327 MB, free: 5.93 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.0004311/0.00558, allocations: 305.5 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005615, allocations: 8.031 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.005655, allocations: 12.92 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.005806, allocations: 133.6 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.005819, allocations: 12.36 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.00584, allocations: 384 / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005959, allocations: 110.3 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.005972, allocations: 4.188 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.005981, allocations: 4.125 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005986, allocations: 3.984 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.006011, allocations: 11.98 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.006215, allocations: 171 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.266e-05/0.006267, allocations: 30.56 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.006284, allocations: 8.859 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.006298, allocations: 7.938 kB / 327.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.006318, allocations: 34.5 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.006319, allocations: 4 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002803/0.006599, allocations: 117.6 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.006631, allocations: 81.09 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.006711, allocations: 140.6 kB / 328.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006722, allocations: 29.7 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.00675, allocations: 92.08 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.00677, allocations: 23.78 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.006799, allocations: 25.7 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.006868, allocations: 322.8 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.00688, allocations: 4 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.006911, allocations: 51.41 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.006948, allocations: 31.66 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.006949, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002041/0.007153, allocations: 57.56 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.007163, allocations: 7.984 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007167, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.007176, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.007235, allocations: 16 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.007239, allocations: 7.984 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.007261, allocations: 4 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.007266, allocations: 4.031 kB / 328.8 MB, free: 3.902 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 5.096e-05/0.007317, allocations: 112.7 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.007336, allocations: 15.92 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.582e-05/0.007422, allocations: 62.7 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.007424, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007425, allocations: 4 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.007428, allocations: 0 / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.007612, allocations: 230.8 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007613, allocations: 0 / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.007648, allocations: 19.98 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00765, allocations: 0 / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-06/0.007655, allocations: 3.938 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007656, allocations: 4 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007657, allocations: 3.938 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/0.007734, allocations: 155.5 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-06/0.007742, allocations: 7.953 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007753, allocations: 4 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.00779, allocations: 7.984 kB / 329.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.007818, allocations: 11.98 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.007821, allocations: 0 / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.007853, allocations: 36.42 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007854, allocations: 0 / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.008019, allocations: 43.86 kB / 329.5 MB, free: 3.137 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.00128/0.009299, allocations: 0.6269 MB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.009408, allocations: 28.84 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.009412, allocations: 0 / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.009437, allocations: 20.8 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.00958, allocations: 42.25 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.009857, allocations: 196 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.00989, allocations: 63.34 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.009932, allocations: 13.03 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.009996, allocations: 67.36 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009996, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of Templates: time 0.003707/0.0137, allocations: 2.158 MB / 332.7 MB, free: 216 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.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.9611810240894556]