Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001101/0.001101, allocations: 80.8 kB / 21.5 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.001112/0.001112, allocations: 168.3 kB / 24.91 MB, free: 8.695 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 0.9819/0.9819, 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.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.8 MB / 294.6 MB, free: 1.25 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.955e-05, allocations: 2.969 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002195/0.002215, allocations: 1.959 MB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.00337, allocations: 1.044 MB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.003445, allocations: 4 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.003613, allocations: 43.64 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.003829, allocations: 107.4 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.00399, allocations: 99.56 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004134, allocations: 143.5 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.488e-05/0.004198, allocations: 18.45 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.004279, allocations: 83.69 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.00435, allocations: 35.89 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.004364, allocations: 8 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.004427, allocations: 43.92 kB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.004466, allocations: 31.84 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.0045, allocations: 35.84 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004652, allocations: 135.4 kB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.004653, allocations: 0 / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004654, allocations: 0 / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.004657, allocations: 0 / 327.1 MB, free: 5.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003087/0.004965, allocations: 378.9 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.246e-05/0.004988, allocations: 8.031 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.005014, allocations: 20.92 kB / 327.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.005148, allocations: 166.3 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.00516, allocations: 4.375 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.005177, allocations: 16.33 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.005298, allocations: 128.1 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.005304, allocations: 3.938 kB / 327.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005312, allocations: 8 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.005315, allocations: 0 / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.00535, allocations: 28.48 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.005618, allocations: 378 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.005742, allocations: 109.3 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.005764, allocations: 20.8 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.005773, allocations: 3.984 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.417e-05/0.005857, allocations: 103.8 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.005858, allocations: 0 / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 9.696e-05/0.005955, allocations: 73.66 kB / 328.5 MB, free: 4.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.005978, allocations: 55.34 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.006079, allocations: 185.6 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.006093, allocations: 33.7 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.006133, allocations: 111.9 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.00615, allocations: 23.84 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.006179, allocations: 29.7 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.00626, allocations: 334.7 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.006276, allocations: 10.83 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.006305, allocations: 44.27 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.00636, allocations: 69.86 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006362, allocations: 4 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.931e-05/0.006441, allocations: 88.38 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.006449, allocations: 4 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.006452, allocations: 0 / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.006461, allocations: 7.984 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.00651, allocations: 19.94 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006515, allocations: 7.984 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.006546, allocations: 15.88 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006551, allocations: 4.125 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.925e-05/0.00661, allocations: 132.5 kB / 329.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.006623, allocations: 11.98 kB / 329.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.006704, allocations: 83.53 kB / 329.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.006706, allocations: 0 / 329.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006707, allocations: 0 / 329.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.00671, allocations: 0 / 329.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.494e-05/0.006785, allocations: 101.9 kB / 329.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.006788, allocations: 3.938 kB / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.006824, allocations: 12 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.006825, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.006831, allocations: 4 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.006833, allocations: 4 kB / 329.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.006834, allocations: 3.938 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.006937, allocations: 114.7 kB / 330 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.006954, allocations: 27.78 kB / 330 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.006966, allocations: 0 / 330 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.006993, allocations: 11.98 kB / 330 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.007017, allocations: 11.98 kB / 330 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.007024, allocations: 0 / 330 MB, free: 2.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.007063, allocations: 52.22 kB / 330.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007063, allocations: 4.031 kB / 330.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001211/0.007184, allocations: 28 kB / 330.1 MB, free: 2.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000969/0.008153, allocations: 0.5075 MB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.008233, allocations: 52.72 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.008236, allocations: 0 / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.008265, allocations: 24.8 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.008383, allocations: 40.53 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.008668, allocations: 258.5 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.0087, allocations: 71.83 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.008738, allocations: 17.47 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.008808, allocations: 79.36 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008808, allocations: 0 / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of Templates: time 0.003337/0.01215, allocations: 2.202 MB / 333.4 MB, free: 15.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.9910961822606623]