Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001153/0.001153, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.004494/0.004494, allocations: 167.3 kB / 24.91 MB, free: 9.109 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2673/0.2673, allocations: 34.25 MB / 296.1 MB, free: 0.7188 MB / 266.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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.479e-05, allocations: 3.156 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003529/0.003554, allocations: 1.848 MB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.005411, allocations: 1.014 MB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.00551, allocations: 0 / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.00593, allocations: 115.5 kB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.006349, allocations: 119.5 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.006653, allocations: 91.53 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.006917, allocations: 139.6 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.007035, allocations: 14.25 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.007212, allocations: 75.73 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.007355, allocations: 63.86 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.007379, allocations: 8 kB / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.007515, allocations: 59.91 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.00758, allocations: 43.84 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.007627, allocations: 28.36 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.00788, allocations: 131.5 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007883, allocations: 0 / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007884, allocations: 0 / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.007889, allocations: 3.938 kB / 329.1 MB, free: 3.805 MB / 298.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.0004864/0.008376, allocations: 357.2 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.008412, allocations: 8.031 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.00846, allocations: 16.92 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.00868, allocations: 170.4 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.008699, allocations: 12.31 kB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.008722, allocations: 8.359 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.008872, allocations: 73.58 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.008886, allocations: 7.938 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.008899, allocations: 4 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008905, allocations: 0 / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.008961, allocations: 19.92 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.009282, allocations: 189.9 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.009479, allocations: 101.2 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.009514, allocations: 21 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.009528, allocations: 7.938 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.00965, allocations: 70.2 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.009652, allocations: 0 / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006349/0.01029, allocations: 197.9 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.01032, allocations: 55.41 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.0105, allocations: 213.1 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01052, allocations: 29.7 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.01057, allocations: 112 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.01062, allocations: 55.56 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.01068, allocations: 33.69 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.01077, allocations: 330.7 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.01082, allocations: 18.81 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.01086, allocations: 29.7 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.01096, allocations: 62.88 kB / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01096, allocations: 0 / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001551/0.01111, allocations: 96.42 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01113, allocations: 6.375 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.01113, allocations: 4 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01115, allocations: 4 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01126, allocations: 31.92 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01126, allocations: 0 / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.01131, allocations: 8 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.01132, allocations: 0 / 331.4 MB, free: 1.324 MB / 298.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 8.96e-05/0.01141, allocations: 123 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.01143, allocations: 19.98 kB / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.01164, allocations: 115 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01164, allocations: 8.109 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01165, allocations: 3.938 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01165, allocations: 0 / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.01207, allocations: 358.5 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01208, allocations: 4 kB / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.01215, allocations: 23.92 kB / 332.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.01216, allocations: 4 kB / 332.1 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01217, allocations: 0 / 332.1 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.01218, allocations: 4 kB / 332.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01218, allocations: 8 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.01239, allocations: 239.9 kB / 332.3 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.01242, allocations: 15.91 kB / 332.3 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.01245, allocations: 8 kB / 332.3 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.01253, allocations: 7.922 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.01257, allocations: 19.92 kB / 332.4 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.01259, allocations: 4 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.01268, allocations: 73.91 kB / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.01268, allocations: 0 / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002708/0.01295, allocations: 35.94 kB / 332.5 MB, free: 200 kB / 298.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.002182/0.01514, allocations: 0.6522 MB / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.0153, allocations: 64.7 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.0153, allocations: 4 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.01537, allocations: 44.77 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.01567, allocations: 42.31 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.01625, allocations: 308.8 kB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.948e-05/0.01632, allocations: 75.83 kB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.0164, allocations: 21.48 kB / 333.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.01652, allocations: 79.3 kB / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01652, allocations: 0 / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.00608/0.0226, allocations: 2.567 MB / 336.3 MB, free: 12.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9621011498384178]