Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001312/0.001312, 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.00121/0.00121, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2558/0.2558, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.144e-05, allocations: 8.422 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003817/0.003848, allocations: 1.752 MB / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.005552, allocations: 1.005 MB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.005635, allocations: 0 / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.005942, allocations: 39.7 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.006269, allocations: 107.5 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.006474, allocations: 79.61 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.006651, allocations: 104.3 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.006739, allocations: 8.75 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.006861, allocations: 63.75 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.006949, allocations: 23.92 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.006969, allocations: 4 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.007072, allocations: 47.91 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.007139, allocations: 23.86 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.007183, allocations: 19.92 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.007381, allocations: 99.66 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.007382, allocations: 0 / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007383, allocations: 0 / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.007387, allocations: 4 kB / 326.7 MB, free: 6.215 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004004/0.007787, allocations: 329.2 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.007824, allocations: 8.031 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.007862, allocations: 12.94 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.008045, allocations: 150 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.008087, allocations: 8.375 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.008111, allocations: 4.375 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.008232, allocations: 61.77 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.008242, allocations: 3.938 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.008252, allocations: 4 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008258, allocations: 4 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.008288, allocations: 15.92 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.008517, allocations: 165.9 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.008622, allocations: 81.3 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.008649, allocations: 20.91 kB / 327.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.00866, allocations: 0 / 327.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.008761, allocations: 70.08 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.008762, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003359/0.009098, allocations: 117.5 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.009136, allocations: 51.41 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.009281, allocations: 180.2 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.009301, allocations: 37.69 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.009337, allocations: 92.08 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.009371, allocations: 31.77 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.009408, allocations: 21.72 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.009501, allocations: 326.8 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.009525, allocations: 10.81 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.009556, allocations: 25.7 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/0.009615, allocations: 52.52 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.009616, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.968e-05/0.009716, allocations: 68.44 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.009729, allocations: 11.94 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009734, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.009747, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.009824, allocations: 15.94 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.009827, allocations: 0 / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.009871, allocations: 12.36 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.009878, allocations: 0 / 328.6 MB, free: 4.082 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 (10): * Single equations (assignments): 10 * 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 9.463e-05/0.009972, allocations: 125.4 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.009993, allocations: 15.92 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.01013, allocations: 71.08 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01013, allocations: 0 / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01013, allocations: 4 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01013, allocations: 4 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.01041, allocations: 291.4 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01041, allocations: 4 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.01044, allocations: 8 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01045, allocations: 4.031 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.01045, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01046, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.01046, allocations: 4 kB / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.0106, allocations: 223 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01062, allocations: 11.91 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.01063, allocations: 0 / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.0107, allocations: 8 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.01073, allocations: 7.984 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01074, allocations: 0 / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.592e-05/0.01081, allocations: 68.62 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01081, allocations: 0 / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01107, allocations: 27.92 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001724/0.01279, allocations: 0.5838 MB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.0129, allocations: 40.77 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.01291, allocations: 4 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.01295, allocations: 20.84 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.0132, allocations: 35.92 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.01359, allocations: 231.5 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.01363, allocations: 63.34 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.01369, allocations: 21.09 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.01377, allocations: 67.36 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01377, allocations: 0 / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of Templates: time 0.00484/0.01861, allocations: 2.02 MB / 332.6 MB, free: 356 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.1309642577543855]