Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.00127/0.00127, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001447/0.001447, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.9831/0.9831, allocations: 177.1 MB / 205 MB, free: 5.211 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.2678/0.2678, allocations: 32.8 MB / 294.3 MB, free: 1.211 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.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.933e-05, allocations: 6.25 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00254/0.002559, allocations: 1.945 MB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004134, allocations: 1.114 MB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004244, allocations: 3.938 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.004679, allocations: 219.3 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.005112, allocations: 223 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.00538, allocations: 119.6 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.005706, allocations: 267.2 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.005827, allocations: 17.95 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.005999, allocations: 147.5 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.006172, allocations: 155.7 kB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.006196, allocations: 8 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.006325, allocations: 71.89 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.006403, allocations: 59.72 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.006487, allocations: 51.78 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.006769, allocations: 195.2 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006771, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006772, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006777, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006245/0.007401, allocations: 0.6001 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.007453, allocations: 16.03 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.007529, allocations: 32.75 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.007807, allocations: 228.5 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.00783, allocations: 4.375 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.007866, allocations: 12.38 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.008067, allocations: 118.2 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.008083, allocations: 7.891 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.008098, allocations: 0 / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.008108, allocations: 4 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.008173, allocations: 31.91 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.008721, allocations: 0.5101 MB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.008979, allocations: 122.1 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.00903, allocations: 39.48 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.009045, allocations: 0 / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.009204, allocations: 120.3 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.009206, allocations: 0 / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008568/0.01006, allocations: 477.1 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.01011, allocations: 93.03 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.01039, allocations: 394.3 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.01041, allocations: 33.7 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01052, allocations: 215.3 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.01058, allocations: 75.41 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.01064, allocations: 51.36 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.0108, allocations: 0.5157 MB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.01086, allocations: 35.97 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.01094, allocations: 80.03 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.01109, allocations: 122.7 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01109, allocations: 3.938 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002426/0.01133, allocations: 209.4 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.01136, allocations: 8 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01136, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01138, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01149, allocations: 51.97 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.0115, allocations: 3.938 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.01155, allocations: 8 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01157, allocations: 12 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001072/0.01167, allocations: 168.6 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.01172, allocations: 47.7 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.012, allocations: 225.1 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01201, allocations: 0 / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.01201, allocations: 7.938 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01202, allocations: 4 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.01261, allocations: 0.7489 MB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01262, allocations: 0 / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.01268, allocations: 35.92 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01268, allocations: 0 / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.01269, allocations: 11.98 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.0127, allocations: 7.984 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.0127, allocations: 0 / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.01306, allocations: 0.5194 MB / 386.6 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.01309, allocations: 31.75 kB / 386.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.01312, allocations: 8 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.01319, allocations: 11.98 kB / 386.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01324, allocations: 23.97 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.01326, allocations: 11.98 kB / 386.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.01343, allocations: 278.9 kB / 387 MB, free: 9.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01343, allocations: 0 / 387 MB, free: 9.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.0137, allocations: 55.92 kB / 387 MB, free: 9.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001129/0.01483, allocations: 494 kB / 387.5 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.01505, allocations: 127.4 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01505, allocations: 0 / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.01513, allocations: 79.72 kB / 387.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.01549, allocations: 66 kB / 387.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.0161, allocations: 497.3 kB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.01618, allocations: 100.3 kB / 388.4 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.01626, allocations: 54.08 kB / 388.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.01632, allocations: 36.48 kB / 388.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01632, allocations: 0 / 388.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of Templates: time 0.006297/0.02262, allocations: 3.344 MB / 391.8 MB, free: 4.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.4687862703576684]