Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.0008428/0.0008428, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.0009444/0.0009444, allocations: 161.8 kB / 24.84 MB, free: 9.297 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.9811/0.9811, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1496/0.1496, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.718e-05, allocations: 2.312 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001833/0.00185, allocations: 1.725 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.002791, allocations: 0.7842 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.002879, allocations: 0 / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.003136, allocations: 47.7 kB / 351.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.003297, allocations: 47.77 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.003466, allocations: 95.62 kB / 351.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003582, allocations: 95.64 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.003662, allocations: 8.234 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.003727, allocations: 51.88 kB / 351.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.003793, allocations: 23.92 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.003807, allocations: 4 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.003903, allocations: 43.91 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.00395, allocations: 27.86 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.00398, allocations: 15.94 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.004107, allocations: 99.59 kB / 352.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004109, allocations: 4 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00411, allocations: 0 / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004113, allocations: 0 / 352.1 MB, free: 6.008 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.0003102/0.004423, allocations: 439.9 kB / 352.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.004454, allocations: 8.031 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.004486, allocations: 16.84 kB / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.004593, allocations: 144.3 kB / 352.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.00461, allocations: 4.375 kB / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.004625, allocations: 4.312 kB / 352.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.004711, allocations: 62.94 kB / 352.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.00472, allocations: 7.938 kB / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004727, allocations: 0 / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004732, allocations: 0 / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.004753, allocations: 15.98 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.00494, allocations: 256.4 kB / 353 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.096e-05/0.005021, allocations: 47.11 kB / 353 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.005039, allocations: 23.61 kB / 353.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.005051, allocations: 4 kB / 353.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.006e-05/0.005131, allocations: 72.95 kB / 353.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.005132, allocations: 4 kB / 353.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003049/0.005437, allocations: 125.5 kB / 353.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.00546, allocations: 55.41 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.00554, allocations: 214.9 kB / 353.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.005549, allocations: 29.7 kB / 353.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.005586, allocations: 154.8 kB / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.005614, allocations: 27.77 kB / 353.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.005642, allocations: 27.38 kB / 353.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.0057, allocations: 0.4962 MB / 354.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.005725, allocations: 15.92 kB / 354.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.00575, allocations: 27.38 kB / 354.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.00579, allocations: 47.34 kB / 354.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.005791, allocations: 0 / 354.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.546e-05/0.005877, allocations: 89.58 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.005889, allocations: 8 kB / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005893, allocations: 0 / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.005902, allocations: 0 / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.005959, allocations: 15.98 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.005962, allocations: 4 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.00599, allocations: 11.97 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.005996, allocations: 4 kB / 354.5 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.636e-05/0.006052, allocations: 152.6 kB / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.006067, allocations: 23.84 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.006185, allocations: 98.38 kB / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.006187, allocations: 0 / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.006189, allocations: 0 / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.006194, allocations: 4 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.006404, allocations: 361.6 kB / 355.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.006406, allocations: 4.406 kB / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.006431, allocations: 8 kB / 355.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.006434, allocations: 4 kB / 355.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.006441, allocations: 4 kB / 355.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006443, allocations: 0 / 355.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.006444, allocations: 3.938 kB / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.006546, allocations: 251.4 kB / 355.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.006556, allocations: 15.94 kB / 355.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.006572, allocations: 4 kB / 355.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.006609, allocations: 0 / 355.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.006635, allocations: 11.98 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.006647, allocations: 8 kB / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.006683, allocations: 151.1 kB / 355.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006683, allocations: 0 / 355.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.006856, allocations: 23.94 kB / 355.6 MB, free: 2.184 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.0008792/0.007735, allocations: 440.8 kB / 356 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.424e-05/0.007829, allocations: 55.52 kB / 356.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007831, allocations: 0 / 356.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.00786, allocations: 31.73 kB / 356.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.00807, allocations: 43.75 kB / 356.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.008316, allocations: 209.4 kB / 356.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.876e-05/0.008345, allocations: 63.34 kB / 356.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.008379, allocations: 12.48 kB / 356.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.008433, allocations: 90.19 kB / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008433, allocations: 0 / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of Templates: time 0.003355/0.01179, allocations: 2.033 MB / 358.5 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.1538376822136343]