Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001604/0.001604, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001141/0.001141, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.922/0.922, allocations: 177.1 MB / 206 MB, free: 4.477 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.1548/0.1548, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.27e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002092/0.002115, allocations: 1.778 MB / 379.1 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003208, allocations: 1.009 MB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.003292, allocations: 0 / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.0036, allocations: 107.6 kB / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.003893, allocations: 127.4 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.004088, allocations: 83.59 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.004262, allocations: 147.6 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.004356, allocations: 13.56 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.004439, allocations: 75.81 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.004531, allocations: 71.84 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004546, allocations: 7.938 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.004637, allocations: 67.84 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.004683, allocations: 27.92 kB / 380.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.004715, allocations: 31.84 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.004876, allocations: 135.4 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00488, allocations: 4 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004881, allocations: 4 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004885, allocations: 0 / 381 MB, free: 21.8 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003612/0.005246, allocations: 491.5 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.005279, allocations: 11.98 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.005321, allocations: 20.84 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.005453, allocations: 173.2 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005467, allocations: 384 / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.005482, allocations: 8.312 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.005583, allocations: 77.66 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005592, allocations: 3.938 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.0056, allocations: 8 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.005605, allocations: 0 / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.00564, allocations: 19.97 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.005876, allocations: 300.2 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.006026, allocations: 67.03 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.006048, allocations: 23.77 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.006059, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/0.006143, allocations: 76.97 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.006144, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004322/0.006576, allocations: 237.8 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.006596, allocations: 51.41 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/0.00669, allocations: 270.7 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.0067, allocations: 25.7 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.006742, allocations: 174.8 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.006773, allocations: 47.62 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.006806, allocations: 35.36 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.006864, allocations: 0.5157 MB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.006887, allocations: 19.92 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.006927, allocations: 50.53 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/0.006985, allocations: 73.41 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006986, allocations: 0 / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001269/0.007113, allocations: 125.5 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.007129, allocations: 8 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.007136, allocations: 0 / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.007148, allocations: 0 / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.007215, allocations: 23.98 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.007219, allocations: 4 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.007248, allocations: 8.031 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.007255, allocations: 4 kB / 383.9 MB, free: 18.68 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 (16): * Single equations (assignments): 16 * 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.826e-05/0.007314, allocations: 168.5 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.007335, allocations: 31.84 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.007507, allocations: 143.1 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.00751, allocations: 4 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007512, allocations: 0 / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.007517, allocations: 3.984 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.007807, allocations: 465.1 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007809, allocations: 0 / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.007847, allocations: 27.98 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.00785, allocations: 0 / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.007861, allocations: 4 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007863, allocations: 0 / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.007866, allocations: 11.92 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.007995, allocations: 299.1 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.00801, allocations: 23.84 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.00803, allocations: 7.938 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.008075, allocations: 7.938 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.008104, allocations: 20 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.008119, allocations: 7.984 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.00817, allocations: 189.4 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00817, allocations: 0 / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.008347, allocations: 31.94 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009648/0.009311, allocations: 491.1 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.009435, allocations: 79.58 kB / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009437, allocations: 0 / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.00948, allocations: 51.47 kB / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.009712, allocations: 41.91 kB / 386 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.01004, allocations: 311.9 kB / 386.3 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.01007, allocations: 83.69 kB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.01012, allocations: 21.47 kB / 386.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.01018, allocations: 98.19 kB / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01018, allocations: 0 / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of Templates: time 0.0039/0.01408, allocations: 2.61 MB / 389.1 MB, free: 13.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.409794834908098]