Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.00135/0.00135, allocations: 91.31 kB / 20.42 MB, free: 4.137 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.001012/0.001012, allocations: 169 kB / 23.79 MB, free: 0.7695 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.9566/0.9566, allocations: 158.6 MB / 185.6 MB, free: 2.93 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.1563/0.1563, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.605e-05/3.834e-05, allocations: 6.25 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002291/0.002329, allocations: 1.73 MB / 349.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003637, allocations: 1.524 MB / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.003708, allocations: 3.938 kB / 351 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.004025, allocations: 35.83 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.004282, allocations: 63.62 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.00445, allocations: 83.7 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.004594, allocations: 99.67 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004698, allocations: 12.23 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.004774, allocations: 51.78 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.00488, allocations: 31.89 kB / 351.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.0049, allocations: 4 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.004996, allocations: 63.89 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.005049, allocations: 15.94 kB / 351.5 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.005089, allocations: 19.92 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.005296, allocations: 115.5 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005299, allocations: 4 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0053, allocations: 0 / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.005306, allocations: 7.938 kB / 351.6 MB, free: 5.496 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.0003733/0.005679, allocations: 428 kB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.005713, allocations: 12.03 kB / 352 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.00576, allocations: 12.88 kB / 352 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.005914, allocations: 144.5 kB / 352.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.005932, allocations: 384 / 352.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.005956, allocations: 4.375 kB / 352.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.0061, allocations: 112 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006109, allocations: 3.938 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.00612, allocations: 0 / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006127, allocations: 8 kB / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.006158, allocations: 7.984 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.00641, allocations: 271.8 kB / 352.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.006506, allocations: 59.09 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.006536, allocations: 19.62 kB / 352.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.006548, allocations: 0 / 352.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.283e-05/0.006641, allocations: 73.05 kB / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.006641, allocations: 0 / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003578/0.006999, allocations: 161.5 kB / 352.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.007026, allocations: 85.09 kB / 353 MB, free: 3.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007128, allocations: 205 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.007138, allocations: 29.64 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.007171, allocations: 142.9 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.007194, allocations: 27.78 kB / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.007224, allocations: 27.38 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.007292, allocations: 0.4962 MB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.007314, allocations: 8 kB / 353.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.007352, allocations: 72.69 kB / 354 MB, free: 2.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.007402, allocations: 55.33 kB / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007403, allocations: 0 / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.117e-05/0.007484, allocations: 89.53 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007496, allocations: 4 kB / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007502, allocations: 0 / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.007515, allocations: 4 kB / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.007576, allocations: 19.98 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.00758, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.007606, allocations: 4 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007612, allocations: 0 / 354.1 MB, free: 2.699 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 4.861e-05/0.007661, allocations: 176.5 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.007674, allocations: 15.94 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007798, allocations: 106.5 kB / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.007799, allocations: 0 / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.007802, allocations: 0 / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.007806, allocations: 0 / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.008065, allocations: 385 kB / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008067, allocations: 0 / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.008089, allocations: 11.98 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.00809, allocations: 8.031 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.008099, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.0081, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008102, allocations: 4 kB / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.008205, allocations: 255.4 kB / 355.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.008213, allocations: 7.953 kB / 355.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.008228, allocations: 11.98 kB / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.008266, allocations: 0 / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.008314, allocations: 7.984 kB / 355.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.008326, allocations: 4 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.008375, allocations: 162.2 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008375, allocations: 4 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.008555, allocations: 35.92 kB / 355.3 MB, free: 1.445 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.0009653/0.00952, allocations: 491.3 kB / 355.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.009639, allocations: 51.61 kB / 355.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.00964, allocations: 4.062 kB / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.009674, allocations: 31.67 kB / 355.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.009892, allocations: 35.77 kB / 355.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.01021, allocations: 197 kB / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.01024, allocations: 71.23 kB / 356.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.01027, allocations: 16.48 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01031, allocations: 24.55 kB / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01031, allocations: 0 / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of Templates: time 0.004011/0.01432, allocations: 2.124 MB / 358.3 MB, free: 14.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.356329644564539]