Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001418/0.001418, allocations: 82.67 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001541/0.001541, allocations: 162.8 kB / 23.96 MB, free: 4.145 MB / 14.72 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.524/1.524, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2195/0.2195, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.657e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002972/0.002999, allocations: 1.599 MB / 444.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004132, allocations: 0.5531 MB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.004184, allocations: 0 / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.004385, allocations: 23.84 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.004671, allocations: 83.55 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.005013, allocations: 123 kB / 445.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.005184, allocations: 71.77 kB / 445.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.005271, allocations: 15.91 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.005354, allocations: 39.84 kB / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.005439, allocations: 27.91 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.005461, allocations: 7.984 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.005637, allocations: 87.89 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.005692, allocations: 15.92 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.005726, allocations: 11.98 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.006043, allocations: 155.5 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006044, allocations: 0 / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006045, allocations: 4 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.006048, allocations: 0 / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005398/0.006588, allocations: 329.7 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.006623, allocations: 11.97 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.006669, allocations: 12.89 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.006888, allocations: 136.1 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.006901, allocations: 4.375 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.006926, allocations: 4.359 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.007117, allocations: 89.67 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.007129, allocations: 4.188 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.007142, allocations: 4.125 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.007147, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.007257, allocations: 27.91 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.007724, allocations: 232.6 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.007864, allocations: 50.55 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.007936, allocations: 28.88 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.00796, allocations: 0 / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.007996, allocations: 38.5 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.007997, allocations: 0 / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007509/0.008748, allocations: 181.3 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.00881, allocations: 81.11 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.009003, allocations: 141.8 kB / 446.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.009026, allocations: 25.7 kB / 446.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.00911, allocations: 104.1 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.009141, allocations: 23.8 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.009196, allocations: 29.7 kB / 447 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.009362, allocations: 314.8 kB / 447.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.009459, allocations: 31.97 kB / 447.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.009597, allocations: 71.39 kB / 447.4 MB, free: 444 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.009788, allocations: 68.83 kB / 447.5 MB, free: 372 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.009791, allocations: 3.938 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000267/0.01006, allocations: 113.6 kB / 447.6 MB, free: 248 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01007, allocations: 4 kB / 447.6 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01008, allocations: 7.938 kB / 447.6 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01009, allocations: 0 / 447.6 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.0102, allocations: 15.98 kB / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01021, allocations: 0 / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.01026, allocations: 4 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01027, allocations: 7.938 kB / 447.7 MB, free: 208 kB / 366.1 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 (8): * Single equations (assignments): 8 * 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 0.0001028/0.01038, allocations: 122.4 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.01042, allocations: 11.95 kB / 447.8 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1889/0.1993, allocations: 119 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1993, allocations: 1.062 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1993, allocations: 1.094 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1993, allocations: 0.75 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.1998, allocations: 332.9 kB / 448.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1998, allocations: 0.5156 kB / 448.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.1999, allocations: 23.09 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1999, allocations: 2.406 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1999, allocations: 4.062 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1999, allocations: 1.844 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1999, allocations: 0 / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2002, allocations: 197.7 kB / 448.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.2002, allocations: 9.859 kB / 448.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.2002, allocations: 5 kB / 448.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.2003, allocations: 4.922 kB / 448.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2004, allocations: 5.203 kB / 448.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2004, allocations: 2.156 kB / 448.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.851e-05/0.2004, allocations: 117.5 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2004, allocations: 0 / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.2008, allocations: 41.33 kB / 448.6 MB, free: 18.62 MB / 366.1 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.001874/0.2026, allocations: 0.5408 MB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2029, allocations: 70.2 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2029, allocations: 0 / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.203, allocations: 37.33 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2033, allocations: 18.06 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2037, allocations: 191.1 kB / 449.5 MB, free: 18.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.2038, allocations: 80.62 kB / 449.6 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.177e-05/0.2039, allocations: 20.91 kB / 449.6 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.2039, allocations: 18.25 kB / 449.6 MB, free: 18.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2039, allocations: 0 / 449.6 MB, free: 18.27 MB / 366.1 MB Notification: Performance of Templates: time 0.005677/0.2096, allocations: 2.029 MB / 451.6 MB, free: 18.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.97739839181304]