Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001087/0.001087, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001099/0.001099, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 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 1.011/1.011, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1541/0.1541, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.777e-06/3.777e-06, allocations: 0 / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/3.068e-05, allocations: 6.25 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002432/0.002463, allocations: 1.722 MB / 349.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003531, allocations: 0.7881 MB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.003627, allocations: 4 kB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.004014, allocations: 43.77 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.004266, allocations: 51.7 kB / 350.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.004478, allocations: 91.62 kB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.004648, allocations: 95.7 kB / 351 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.004769, allocations: 8.219 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004872, allocations: 51.83 kB / 351.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004976, allocations: 23.92 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.005, allocations: 4 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.005083, allocations: 43.92 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.005134, allocations: 27.84 kB / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.005176, allocations: 19.92 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.005323, allocations: 99.59 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005325, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005326, allocations: 4 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005331, allocations: 0 / 351.3 MB, free: 6.012 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.0004188/0.00575, allocations: 439.9 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.005792, allocations: 8.031 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.00583, allocations: 16.88 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.005956, allocations: 136.5 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.005975, allocations: 12.36 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.005995, allocations: 4.328 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.006121, allocations: 70.81 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006133, allocations: 3.938 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00614, allocations: 0 / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006147, allocations: 0 / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.006173, allocations: 11.98 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.006405, allocations: 256.4 kB / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/0.006496, allocations: 55.11 kB / 352.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.00652, allocations: 23.67 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.006538, allocations: 3.984 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.54e-05/0.006623, allocations: 64.98 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006624, allocations: 0 / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003308/0.006955, allocations: 137.4 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.006976, allocations: 55.41 kB / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.007068, allocations: 216 kB / 352.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.007078, allocations: 29.7 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.007117, allocations: 154.8 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.00714, allocations: 19.8 kB / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.007171, allocations: 39.34 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.007231, allocations: 0.4962 MB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.007246, allocations: 8 kB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.00727, allocations: 35.3 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.00731, allocations: 43.36 kB / 353.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007311, allocations: 0 / 353.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.207e-05/0.007393, allocations: 93.53 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007405, allocations: 4 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007411, allocations: 8.109 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.007428, allocations: 0 / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.007492, allocations: 15.98 kB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.007497, allocations: 3.984 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.007524, allocations: 4 kB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.007529, allocations: 0 / 353.7 MB, free: 3.367 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.774e-05/0.007586, allocations: 164.5 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.0076, allocations: 19.84 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007723, allocations: 102.4 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007724, allocations: 0 / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.007727, allocations: 4 kB / 354 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.00773, allocations: 3.938 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.007954, allocations: 361.6 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007955, allocations: 0 / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.00798, allocations: 8 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007982, allocations: 0 / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.007991, allocations: 4.375 kB / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007992, allocations: 0 / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007994, allocations: 4 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.008112, allocations: 263.4 kB / 354.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.008123, allocations: 15.97 kB / 354.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.008139, allocations: 4 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.008175, allocations: 0 / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.008201, allocations: 7.984 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.008212, allocations: 4 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.008256, allocations: 160 kB / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008256, allocations: 0 / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.008419, allocations: 23.94 kB / 354.8 MB, free: 2.164 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.0009051/0.009324, allocations: 439.2 kB / 355.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.75e-05/0.009421, allocations: 47.61 kB / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009423, allocations: 0 / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.009454, allocations: 35.75 kB / 355.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.009666, allocations: 39.95 kB / 355.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.009957, allocations: 213.4 kB / 355.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.278e-05/0.00999, allocations: 71.28 kB / 355.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.06e-05/0.01002, allocations: 16.61 kB / 355.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.01008, allocations: 86.19 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01008, allocations: 0 / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of Templates: time 0.00352/0.0136, allocations: 2.015 MB / 357.8 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.167375933844596]