Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001142/0.001142, allocations: 82.64 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.001471/0.001471, allocations: 168.5 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 1.034/1.034, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1914/0.1914, allocations: 32.38 MB / 271.5 MB, free: 14.62 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.021e-05, allocations: 6.25 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002329/0.00236, allocations: 1.722 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.003336, allocations: 0.7803 MB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.003415, allocations: 0 / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.003738, allocations: 51.69 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.003944, allocations: 59.7 kB / 351.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004158, allocations: 87.69 kB / 351.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.004287, allocations: 95.64 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.004371, allocations: 12.2 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.004446, allocations: 47.91 kB / 351.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.004513, allocations: 23.92 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.00453, allocations: 4 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.004606, allocations: 43.91 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.004652, allocations: 27.86 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.004681, allocations: 23.92 kB / 352 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.004823, allocations: 103.6 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004825, allocations: 0 / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004826, allocations: 0 / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.00483, allocations: 0 / 352.1 MB, free: 5.988 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.0003271/0.005158, allocations: 451.8 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.005193, allocations: 12.03 kB / 352.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.005228, allocations: 16.84 kB / 352.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.005338, allocations: 149.8 kB / 352.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.005353, allocations: 4.375 kB / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.005367, allocations: 4.375 kB / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.924e-05/0.005456, allocations: 66.88 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005463, allocations: 3.938 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.00547, allocations: 0 / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.005474, allocations: 0 / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.005497, allocations: 11.98 kB / 352.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.005695, allocations: 260.4 kB / 353 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.005768, allocations: 51.11 kB / 353.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.005787, allocations: 15.69 kB / 353.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005798, allocations: 7.984 kB / 353.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.358e-05/0.005871, allocations: 68.98 kB / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.005873, allocations: 0 / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005185/0.006391, allocations: 133.5 kB / 353.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.006419, allocations: 51.41 kB / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.006505, allocations: 227.9 kB / 353.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.006514, allocations: 29.7 kB / 353.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.006547, allocations: 150.9 kB / 353.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.006569, allocations: 27.77 kB / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.006595, allocations: 27.38 kB / 353.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.006637, allocations: 0.504 MB / 354.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.006653, allocations: 15.92 kB / 354.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.006675, allocations: 27.36 kB / 354.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.006713, allocations: 43.36 kB / 354.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006714, allocations: 0 / 354.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.381e-05/0.006798, allocations: 93.53 kB / 354.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.00681, allocations: 11.98 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.006815, allocations: 0 / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.006822, allocations: 3.938 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.006897, allocations: 16.41 kB / 354.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006899, allocations: 0 / 354.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.006927, allocations: 4 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.006934, allocations: 15.92 kB / 354.5 MB, free: 3.309 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.727e-05/0.006981, allocations: 160.6 kB / 354.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.006996, allocations: 15.89 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.007109, allocations: 103 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007112, allocations: 4 kB / 354.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007113, allocations: 0 / 354.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.007116, allocations: 0 / 354.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.007328, allocations: 365.6 kB / 355.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.007329, allocations: 0 / 355.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.007355, allocations: 15.98 kB / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.007358, allocations: 0 / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.007363, allocations: 0 / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007365, allocations: 4 kB / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007366, allocations: 0 / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.076e-05/0.007457, allocations: 251.4 kB / 355.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.007468, allocations: 11.91 kB / 355.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.007484, allocations: 8 kB / 355.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.007525, allocations: 8.016 kB / 355.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.007549, allocations: 4 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.007561, allocations: 7.984 kB / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.007608, allocations: 159.8 kB / 355.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007608, allocations: 0 / 355.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.007785, allocations: 23.94 kB / 355.7 MB, free: 2.109 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.000881/0.008666, allocations: 445.4 kB / 356.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.008757, allocations: 55.52 kB / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008759, allocations: 8 kB / 356.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.008789, allocations: 31.66 kB / 356.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.009013, allocations: 35.83 kB / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.009277, allocations: 217 kB / 356.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.767e-05/0.009305, allocations: 67.34 kB / 356.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.166e-05/0.009336, allocations: 12.48 kB / 356.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.009394, allocations: 94.25 kB / 356.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009395, allocations: 4 kB / 356.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of Templates: time 0.004327/0.01372, allocations: 2.025 MB / 358.6 MB, free: 15.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.3336358391679823]