Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009861/0.0009861, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001186/0.001186, allocations: 172.7 kB / 24.91 MB, free: 8.762 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.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.2532/0.2532, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.599e-05, allocations: 2.969 kB / 323.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00238/0.002406, allocations: 1.753 MB / 325.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003609, allocations: 0.9935 MB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.003675, allocations: 0 / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.00397, allocations: 67.66 kB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.004225, allocations: 103.5 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.004368, allocations: 71.67 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.004512, allocations: 111.6 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.004552, allocations: 4.859 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.004648, allocations: 63.75 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004748, allocations: 35.91 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.004765, allocations: 8 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.004849, allocations: 31.92 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.004904, allocations: 31.84 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.004938, allocations: 15.94 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.005101, allocations: 87.66 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005103, allocations: 0 / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005104, allocations: 0 / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.005107, allocations: 0 / 326.7 MB, free: 6.199 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003138/0.005421, allocations: 305.5 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.005452, allocations: 12.03 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.005477, allocations: 8.938 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.005764, allocations: 155.4 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.00578, allocations: 8.359 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.005788, allocations: 384 / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.005881, allocations: 61.77 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.005888, allocations: 3.938 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.005894, allocations: 0 / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.005897, allocations: 0 / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.005916, allocations: 4 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.686e-05/0.006003, allocations: 74.67 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.00608, allocations: 49.31 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.006097, allocations: 8.859 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.006108, allocations: 4 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.837e-05/0.006186, allocations: 54.22 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.006187, allocations: 0 / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001033/0.006291, allocations: 65.61 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.00632, allocations: 55.34 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.006418, allocations: 177.5 kB / 327.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.006432, allocations: 25.7 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.006459, allocations: 104.1 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.006488, allocations: 11.84 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.006517, allocations: 29.69 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.0066, allocations: 318.8 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.006615, allocations: 10.83 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.006637, allocations: 21.69 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.006675, allocations: 39.3 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.006678, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.922e-05/0.006747, allocations: 60.81 kB / 328.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.00676, allocations: 8 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006765, allocations: 0 / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.006777, allocations: 0 / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.006843, allocations: 19.88 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.006848, allocations: 7.984 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.006876, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.006883, allocations: 8 kB / 328.4 MB, free: 4.344 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 (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.311e-05/0.006946, allocations: 111.6 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.006959, allocations: 11.98 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.007047, allocations: 66.86 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007048, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.007051, allocations: 7.875 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007055, allocations: 4 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.923e-05/0.007124, allocations: 81.86 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007125, allocations: 0 / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.007143, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007145, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.007149, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.007152, allocations: 11.92 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007153, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.21e-05/0.007215, allocations: 90.7 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.007235, allocations: 19.89 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.007247, allocations: 0 / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.007268, allocations: 4 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.00729, allocations: 3.984 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.0073, allocations: 4 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.00734, allocations: 55.52 kB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00734, allocations: 0 / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.007459, allocations: 23.94 kB / 328.9 MB, free: 3.797 MB / 298.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.001095/0.008553, allocations: 0.4916 MB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.008632, allocations: 32.84 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.008636, allocations: 4 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.008666, allocations: 16.8 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.008808, allocations: 35.89 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.00909, allocations: 198.8 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.009125, allocations: 67.33 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.009157, allocations: 16.55 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.009216, allocations: 67.36 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009217, allocations: 0 / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of Templates: time 0.003258/0.01247, allocations: 1.772 MB / 331.6 MB, free: 1.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.9290108322165906]