Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.001259/0.001259, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001114/0.001114, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9472/0.9472, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1577/0.1577, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.742e-05, allocations: 12.16 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003026/0.003063, allocations: 1.73 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004251, allocations: 0.7999 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.004339, allocations: 3.938 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.004698, allocations: 47.75 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.005005, allocations: 55.77 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.005334, allocations: 91.69 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.005557, allocations: 95.64 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005688, allocations: 8.219 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.005805, allocations: 55.77 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.005909, allocations: 19.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.005935, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.00607, allocations: 43.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.006159, allocations: 27.91 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.006256, allocations: 31.86 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.006515, allocations: 99.66 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.006521, allocations: 0 / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.006523, allocations: 0 / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.00653, allocations: 0 / 350.9 MB, free: 6.234 MB / 282.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.0005389/0.007069, allocations: 451.8 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.007113, allocations: 11.97 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.007171, allocations: 16.84 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.007364, allocations: 160.3 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.00739, allocations: 4.375 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.007416, allocations: 4.375 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.007564, allocations: 62.94 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.007577, allocations: 3.938 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.007587, allocations: 0 / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.007597, allocations: 3.984 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.00763, allocations: 8 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.007895, allocations: 295.7 kB / 351.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.007997, allocations: 51.17 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.008031, allocations: 27.59 kB / 351.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.008043, allocations: 8 kB / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/0.008138, allocations: 68.98 kB / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.008139, allocations: 0 / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004497/0.008589, allocations: 153.7 kB / 352.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.008614, allocations: 51.41 kB / 352.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.008717, allocations: 253.8 kB / 352.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.008727, allocations: 25.7 kB / 352.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.008764, allocations: 150.9 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.00879, allocations: 35.77 kB / 352.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.008819, allocations: 27.38 kB / 352.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.008868, allocations: 0.5079 MB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.008887, allocations: 8 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.008918, allocations: 35.36 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.008971, allocations: 55.31 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008973, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.134e-05/0.009064, allocations: 89.58 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.009077, allocations: 4 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009081, allocations: 0 / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.009096, allocations: 7.938 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.009172, allocations: 20.03 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009177, allocations: 0 / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.009207, allocations: 7.984 kB / 353.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.009214, allocations: 0 / 353.4 MB, free: 3.441 MB / 282.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 5.932e-05/0.009273, allocations: 164.5 kB / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.009287, allocations: 19.84 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.009413, allocations: 111.2 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009415, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.009419, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009422, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.00965, allocations: 401 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.009652, allocations: 3.984 kB / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.009677, allocations: 8 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.009681, allocations: 4 kB / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.009688, allocations: 0 / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.009689, allocations: 3.938 kB / 354.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.009691, allocations: 4 kB / 354.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.009793, allocations: 263.4 kB / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.009804, allocations: 11.91 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.009823, allocations: 4.016 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.009862, allocations: 8 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.009904, allocations: 7.984 kB / 354.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.009919, allocations: 4 kB / 354.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.778e-05/0.009977, allocations: 179.1 kB / 354.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009977, allocations: 0 / 354.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.01015, allocations: 31.92 kB / 354.6 MB, free: 2.148 MB / 282.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.0009399/0.01109, allocations: 438.6 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01121, allocations: 59.53 kB / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.01122, allocations: 0 / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.01125, allocations: 35.61 kB / 355.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.0115, allocations: 31.97 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.01182, allocations: 229.8 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.01186, allocations: 75.27 kB / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.128e-05/0.01189, allocations: 16.47 kB / 355.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.01192, allocations: 24.56 kB / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01192, allocations: 0 / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of Templates: time 0.003806/0.01572, allocations: 1.988 MB / 357.5 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.2206692192703485]