Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001398/0.001398, allocations: 82.27 kB / 20.68 MB, free: 1.039 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.001408/0.001408, allocations: 163.1 kB / 23.96 MB, free: 4.164 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.386/1.386, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2006/0.2006, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.059e-05, allocations: 2.281 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002828/0.002849, allocations: 1.715 MB / 441.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004521, allocations: 0.9704 MB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.004579, allocations: 7.938 kB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.004842, allocations: 47.81 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.005155, allocations: 111.4 kB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.005346, allocations: 71.62 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005524, allocations: 115.6 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.005598, allocations: 4 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.005713, allocations: 55.83 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.005788, allocations: 27.91 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.005808, allocations: 4 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.005901, allocations: 43.92 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.005963, allocations: 35.84 kB / 443.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.006007, allocations: 19.92 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.006225, allocations: 135.5 kB / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006228, allocations: 0 / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006228, allocations: 0 / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.006232, allocations: 4 kB / 443.5 MB, free: 4.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005462/0.006778, allocations: 373.3 kB / 443.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.006809, allocations: 11.97 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.006857, allocations: 20.84 kB / 443.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.007069, allocations: 154.5 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.00708, allocations: 4.375 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.007097, allocations: 384 / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.007243, allocations: 62.17 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.007255, allocations: 3.938 kB / 444.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.007264, allocations: 4 kB / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.007268, allocations: 0 / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.00735, allocations: 23.98 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.007686, allocations: 240.6 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.007862, allocations: 62.61 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.007917, allocations: 24.73 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.00793, allocations: 0 / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.008089, allocations: 71.38 kB / 444.6 MB, free: 3.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.008091, allocations: 0 / 444.6 MB, free: 3.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.00865, allocations: 209.2 kB / 444.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.008695, allocations: 51.41 kB / 444.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.008981, allocations: 272.1 kB / 445.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.009, allocations: 25.7 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.009096, allocations: 116.1 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.009127, allocations: 27.78 kB / 445.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.009172, allocations: 25.72 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.00932, allocations: 326.8 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.009384, allocations: 23.98 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.009463, allocations: 45.64 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.009587, allocations: 65.64 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.009587, allocations: 0 / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.009785, allocations: 105.5 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.009796, allocations: 4 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.0098, allocations: 0 / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.009814, allocations: 4 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.009906, allocations: 19.98 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.00991, allocations: 0 / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.009957, allocations: 8.406 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.009963, allocations: 3.938 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001168/0.01008, allocations: 142.4 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.01011, allocations: 23.84 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.01039, allocations: 131 kB / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01039, allocations: 0 / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01039, allocations: 0 / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.0104, allocations: 4 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.01086, allocations: 355.2 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01086, allocations: 8.031 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.0109, allocations: 11.98 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0109, allocations: 3.938 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01092, allocations: 8 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01092, allocations: 0 / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01092, allocations: 0 / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.0112, allocations: 216.2 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.01122, allocations: 11.91 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.01124, allocations: 7.984 kB / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.01132, allocations: 4 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.01135, allocations: 11.98 kB / 446.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.01137, allocations: 4 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.01158, allocations: 212.3 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01158, allocations: 0 / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.01185, allocations: 31.92 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001772/0.01362, allocations: 497.1 kB / 447.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.0138, allocations: 55.97 kB / 447.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0138, allocations: 0 / 447.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.01389, allocations: 31.92 kB / 447.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.01426, allocations: 40.81 kB / 447.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.01479, allocations: 294.9 kB / 447.9 MB, free: 216 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.01497, allocations: 109.2 kB / 448 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.01502, allocations: 16.97 kB / 448.1 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.01506, allocations: 20.44 kB / 448.1 MB, free: 48 kB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01506, allocations: 0 / 448.1 MB, free: 48 kB / 366.1 MB Notification: Performance of Templates: time 0.1632/0.1783, allocations: 1.859 MB / 449.9 MB, free: 21.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.464820463210344]