Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001423/0.001423, 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.001544/0.001544, allocations: 169 kB / 24.91 MB, free: 9.219 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.003/1.003, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2545/0.2545, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 325.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.657e-05, allocations: 3.156 kB / 325.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002915/0.002942, allocations: 1.761 MB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.004279, allocations: 1.006 MB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.004363, allocations: 0 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.004686, allocations: 43.77 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.004983, allocations: 103.4 kB / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.005183, allocations: 83.59 kB / 328.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.00534, allocations: 95.7 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.005385, allocations: 12.7 kB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.005476, allocations: 51.78 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.005551, allocations: 19.92 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.005565, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.005636, allocations: 35.97 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.005681, allocations: 23.92 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.005712, allocations: 19.88 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005888, allocations: 107.6 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00589, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.005892, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005897, allocations: 4 kB / 328.7 MB, free: 4.207 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.0003876/0.006285, allocations: 341.3 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006315, allocations: 8.031 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.006348, allocations: 8.938 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.006513, allocations: 158.4 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.006528, allocations: 4.359 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.006535, allocations: 4.375 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.006638, allocations: 65.77 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.006647, allocations: 3.938 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.006653, allocations: 0 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006658, allocations: 0 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.006678, allocations: 4 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.793e-05/0.006776, allocations: 82.61 kB / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.006853, allocations: 33.44 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.006872, allocations: 12.86 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.006882, allocations: 0 / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.388e-05/0.006966, allocations: 66.22 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.006967, allocations: 0 / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001175/0.007085, allocations: 57.61 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.007128, allocations: 59.34 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.007264, allocations: 212 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.007279, allocations: 33.69 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.007309, allocations: 100.1 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.007337, allocations: 7.906 kB / 330 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.007368, allocations: 21.7 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.007447, allocations: 330.8 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.007466, allocations: 14.81 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.007485, allocations: 13.72 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.007527, allocations: 43.53 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.00753, allocations: 3.938 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.752e-05/0.007597, allocations: 64.5 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.007608, allocations: 7.938 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007613, allocations: 0 / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.007625, allocations: 4 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.007679, allocations: 15.97 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.007682, allocations: 3.984 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.00771, allocations: 4 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.007714, allocations: 0 / 330.5 MB, free: 2.27 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.551e-05/0.00778, allocations: 116.7 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.007792, allocations: 7.984 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.007884, allocations: 70.7 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007886, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.007888, allocations: 3.938 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007892, allocations: 3.984 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.007973, allocations: 97.84 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007973, allocations: 4 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.007993, allocations: 8 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007994, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.007999, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.007999, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008001, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.041e-05/0.008071, allocations: 86.83 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.008086, allocations: 11.97 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.008101, allocations: 11.94 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.008125, allocations: 7.984 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.008146, allocations: 4 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.008157, allocations: 4 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.00821, allocations: 76.92 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00821, allocations: 4 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.008326, allocations: 16 kB / 331 MB, free: 1.688 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.001113/0.009439, allocations: 0.5064 MB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.009522, allocations: 28.84 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.009525, allocations: 3.938 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.009554, allocations: 24.91 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.009697, allocations: 27.97 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.01002, allocations: 235.2 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.01006, allocations: 67.33 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.01009, allocations: 8.5 kB / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.01015, allocations: 71.36 kB / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01015, allocations: 0 / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of Templates: time 0.003391/0.01354, allocations: 1.797 MB / 333.8 MB, free: 15.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.9534433749504387]