Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001311/0.001311, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009283/0.0009283, allocations: 168.5 kB / 25.61 MB, free: 8.875 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.8735/0.8735, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.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.1527/0.1527, allocations: 34.26 MB / 296.9 MB, free: 13.9 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.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.367e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002835/0.002858, allocations: 1.754 MB / 381.1 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.003818, allocations: 0.9936 MB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.003891, allocations: 3.938 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.004152, allocations: 43.83 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.004381, allocations: 115.3 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.004507, allocations: 75.66 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.004624, allocations: 111.6 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.0047, allocations: 7.984 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.004765, allocations: 51.84 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.004826, allocations: 27.89 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.004839, allocations: 4 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.004912, allocations: 47.86 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.004957, allocations: 31.86 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.004986, allocations: 27.86 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.005121, allocations: 111.6 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.005124, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005125, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005128, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 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.0003488/0.005477, allocations: 483.5 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.005509, allocations: 12.03 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.005545, allocations: 20.8 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.005672, allocations: 164.2 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005685, allocations: 384 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.005699, allocations: 4.375 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.005786, allocations: 62.94 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005795, allocations: 3.938 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005801, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005806, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.005827, allocations: 11.98 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.006017, allocations: 272.3 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.006094, allocations: 55.16 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.00611, allocations: 11.69 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.006121, allocations: 0 / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.479e-05/0.006195, allocations: 72.98 kB / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006196, allocations: 0 / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000281/0.006477, allocations: 149.4 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.006497, allocations: 55.34 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.006596, allocations: 275.5 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.006604, allocations: 29.7 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.006644, allocations: 170.8 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.006664, allocations: 19.84 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.00669, allocations: 31.36 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.006736, allocations: 0.5079 MB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.00675, allocations: 8 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.006772, allocations: 31.73 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.00681, allocations: 47.36 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006811, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.452e-05/0.006895, allocations: 97.52 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.006906, allocations: 8 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.006911, allocations: 0 / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.006919, allocations: 3.938 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.006976, allocations: 15.94 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.006979, allocations: 8.031 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.007007, allocations: 7.984 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.007012, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 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 4.556e-05/0.007058, allocations: 156.6 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.007073, allocations: 31.8 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.007181, allocations: 103.2 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.007183, allocations: 0 / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.007184, allocations: 0 / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.007188, allocations: 7.984 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.007391, allocations: 377.5 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007392, allocations: 4 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.007416, allocations: 8 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007418, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.007424, allocations: 7.984 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007425, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007426, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.544e-05/0.007512, allocations: 255.4 kB / 386.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.007523, allocations: 11.91 kB / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.007538, allocations: 4 kB / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.007578, allocations: 4 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.0076, allocations: 15.95 kB / 386.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.007611, allocations: 4 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.007665, allocations: 199.4 kB / 386.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007665, allocations: 0 / 386.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.007829, allocations: 23.95 kB / 386.6 MB, free: 15.79 MB / 314.7 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.000864/0.008693, allocations: 429.8 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.328e-05/0.008787, allocations: 55.58 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.008788, allocations: 3.938 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.008819, allocations: 35.67 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.009049, allocations: 40.47 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.009353, allocations: 260.4 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.009383, allocations: 79.19 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.009415, allocations: 17.03 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.00947, allocations: 90.19 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009471, allocations: 0 / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Templates: time 0.003297/0.01277, allocations: 2.082 MB / 389.6 MB, free: 12.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.0925424210727215]