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.001024/0.001024, 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.001113/0.001113, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2756/0.2756, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.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.363e-06/1.363e-06, allocations: 0 / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.86e-05, allocations: 5.578 kB / 323.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002279/0.002298, allocations: 1.831 MB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003491, allocations: 1.017 MB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.003562, allocations: 7.938 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.00384, allocations: 107.5 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.004111, allocations: 127.5 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.0043, allocations: 87.53 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.004467, allocations: 139.6 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.004548, allocations: 18.22 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.004643, allocations: 75.75 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.00474, allocations: 63.86 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.004755, allocations: 4 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.004845, allocations: 67.91 kB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.004891, allocations: 31.86 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.004926, allocations: 27.84 kB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.005091, allocations: 143.4 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005094, allocations: 4 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005094, allocations: 0 / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.005098, allocations: 0 / 327.1 MB, free: 5.812 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.0003352/0.005433, allocations: 361.1 kB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.005461, allocations: 8.031 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.005491, allocations: 12.94 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.005636, allocations: 170.4 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005648, allocations: 384 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.005666, allocations: 4.375 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.00577, allocations: 81.69 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005779, allocations: 3.938 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.005788, allocations: 4 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005793, allocations: 4 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.005827, allocations: 20.89 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.00604, allocations: 185.9 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.006185, allocations: 109.2 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.006205, allocations: 12.86 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.006215, allocations: 3.938 kB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.543e-05/0.0063, allocations: 82.34 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.006301, allocations: 0 / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004083/0.00671, allocations: 193.9 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.006738, allocations: 55.39 kB / 328.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.006862, allocations: 213.2 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.006876, allocations: 25.7 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.006914, allocations: 108 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.00695, allocations: 55.56 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.006986, allocations: 25.7 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.00707, allocations: 338.7 kB / 329.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.007092, allocations: 18.81 kB / 329.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.007128, allocations: 36.31 kB / 329.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.007189, allocations: 67.12 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.00719, allocations: 0 / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.569e-05/0.007285, allocations: 92.42 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.007297, allocations: 8 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.0073, allocations: 0 / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.007309, allocations: 0 / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.007371, allocations: 28.02 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007375, allocations: 4 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.007402, allocations: 4 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.00741, allocations: 8 kB / 329.4 MB, free: 3.34 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 6.648e-05/0.007476, allocations: 128.6 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.007493, allocations: 19.92 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.007624, allocations: 103 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007626, allocations: 4 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.007627, allocations: 0 / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.00763, allocations: 4 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.007903, allocations: 364.1 kB / 330 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007905, allocations: 0 / 330 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.007946, allocations: 23.98 kB / 330 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007948, allocations: 0 / 330 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007957, allocations: 7.984 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.00796, allocations: 3.938 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.007963, allocations: 3.938 kB / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.008188, allocations: 240 kB / 330.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.008222, allocations: 19.97 kB / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.00826, allocations: 11.98 kB / 330.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.008364, allocations: 7.938 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.008412, allocations: 11.98 kB / 330.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.008435, allocations: 4 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.008537, allocations: 69.92 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.008537, allocations: 3.938 kB / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.008839, allocations: 39.94 kB / 330.4 MB, free: 2.215 MB / 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.001383/0.01022, allocations: 0.6623 MB / 331.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.01034, allocations: 68.69 kB / 331.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01034, allocations: 0 / 331.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.01039, allocations: 44.78 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.01057, allocations: 23.98 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.01092, allocations: 313.3 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.01097, allocations: 79.83 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.01102, allocations: 29.66 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.0111, allocations: 71.36 kB / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0111, allocations: 0 / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of Templates: time 0.004126/0.01522, allocations: 2.573 MB / 334.3 MB, free: 14.68 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 -s gbode -gbm=radauIIA3 -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.0678701256401837]