Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009884/0.0009884, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001183/0.001183, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9463/0.9463, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1536/0.1536, allocations: 32.8 MB / 294.6 MB, free: 15.45 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 323.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.935e-05, allocations: 10.19 kB / 323.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003988/0.004007, allocations: 1.761 MB / 325.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.005757, allocations: 0.9896 MB / 326.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.124e-05/0.005848, allocations: 3.938 kB / 326.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.006535, allocations: 39.81 kB / 326.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.006883, allocations: 107.4 kB / 326.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.007104, allocations: 79.61 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.007298, allocations: 111.7 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.007344, allocations: 4.234 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.007461, allocations: 59.75 kB / 326.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.007564, allocations: 31.91 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.007581, allocations: 4 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.007663, allocations: 35.97 kB / 326.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.007713, allocations: 19.92 kB / 326.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.007751, allocations: 19.88 kB / 326.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.007927, allocations: 91.59 kB / 326.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.007929, allocations: 0 / 326.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00793, allocations: 4 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.007935, allocations: 0 / 326.7 MB, free: 15.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004348/0.008369, allocations: 304.3 kB / 327 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.008405, allocations: 11.98 kB / 327 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.008437, allocations: 8.922 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.008616, allocations: 142.3 kB / 327.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.00863, allocations: 384 / 327.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.00864, allocations: 4.359 kB / 327.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.008751, allocations: 61.77 kB / 327.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008762, allocations: 3.938 kB / 327.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.008769, allocations: 7.938 kB / 327.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.008776, allocations: 4 kB / 327.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.008805, allocations: 7.984 kB / 327.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.008909, allocations: 66.69 kB / 327.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.009014, allocations: 37.44 kB / 327.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.009038, allocations: 12.86 kB / 327.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.009049, allocations: 0 / 327.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.871e-05/0.009147, allocations: 70.14 kB / 327.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.009148, allocations: 4 kB / 327.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001333/0.009281, allocations: 53.69 kB / 327.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.009314, allocations: 59.28 kB / 327.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.00946, allocations: 173 kB / 327.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.009476, allocations: 29.7 kB / 327.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.00951, allocations: 92.11 kB / 327.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.009537, allocations: 11.84 kB / 327.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.009576, allocations: 29.69 kB / 327.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.009679, allocations: 318.8 kB / 328.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.009699, allocations: 10.83 kB / 328.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.009728, allocations: 21.66 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.009783, allocations: 35.34 kB / 328.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009786, allocations: 0 / 328.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.865e-05/0.009874, allocations: 64.44 kB / 328.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.009887, allocations: 8 kB / 328.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.00989, allocations: 0 / 328.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.009902, allocations: 0 / 328.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.009973, allocations: 11.94 kB / 328.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.009981, allocations: 7.984 kB / 328.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.01002, allocations: 7.984 kB / 328.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.01002, allocations: 4 kB / 328.4 MB, free: 13.47 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 (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 prepare postOptimizeDAE: time 6.8e-05/0.01009, allocations: 112.7 kB / 328.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.01011, allocations: 11.98 kB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.62e-05/0.0102, allocations: 62.77 kB / 328.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01021, allocations: 0 / 328.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01021, allocations: 3.938 kB / 328.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01021, allocations: 0 / 328.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.891e-05/0.0103, allocations: 86.25 kB / 328.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.0103, allocations: 0 / 328.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.01033, allocations: 8 kB / 328.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01033, allocations: 4 kB / 328.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.01033, allocations: 0 / 328.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01033, allocations: 0 / 328.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01034, allocations: 3.984 kB / 328.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.01042, allocations: 90.64 kB / 328.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.01044, allocations: 19.92 kB / 328.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01046, allocations: 0 / 328.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.01048, allocations: 0 / 328.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.01051, allocations: 7.938 kB / 328.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01052, allocations: 3.984 kB / 328.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.01057, allocations: 52.3 kB / 328.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01057, allocations: 0 / 328.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01076, allocations: 27.92 kB / 328.8 MB, free: 12.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001571/0.01233, allocations: 0.4945 MB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.62e-05/0.01242, allocations: 32.78 kB / 329.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01242, allocations: 0 / 329.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.01245, allocations: 16.86 kB / 329.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.01262, allocations: 28.03 kB / 329.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.01297, allocations: 190.2 kB / 329.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.01301, allocations: 63.34 kB / 329.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.091e-05/0.01305, allocations: 20.41 kB / 329.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.01313, allocations: 63.36 kB / 329.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01313, allocations: 0 / 329.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Templates: time 0.004328/0.01745, allocations: 1.77 MB / 331.5 MB, free: 10.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.23377488180995]