Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009523/0.0009523, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002226, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008831/0.0008831, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001948, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.085/1.085, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1146/1.199, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.326/0.326, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04578/0.3718, allocations: 12.52 MB / 289.3 MB, free: 8.684 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.31e-07/9.31e-07, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.716e-06/9.647e-06, allocations: 3.188 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002968/0.002978, allocations: 1.977 MB / 292.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.004224, allocations: 1.125 MB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.004282, allocations: 7.938 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.004536, allocations: 303 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.004792, allocations: 255 kB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.004947, allocations: 119.5 kB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.005127, allocations: 271.2 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.005176, allocations: 22.61 kB / 294.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.005345, allocations: 208.8 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.00546, allocations: 151.6 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.005475, allocations: 12 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.53e-05/0.00555, allocations: 63.91 kB / 295.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.005594, allocations: 59.78 kB / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.005631, allocations: 43.75 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.005793, allocations: 199.2 kB / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.0058, allocations: 0 / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.0058, allocations: 0 / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.005806, allocations: 0 / 295.5 MB, free: 3.406 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003618/0.006168, allocations: 0.5303 MB / 296 MB, free: 2.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.91e-05/0.006187, allocations: 15.97 kB / 296 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.006213, allocations: 20.91 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.006363, allocations: 228.1 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.006372, allocations: 4.375 kB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.006384, allocations: 16.31 kB / 296.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.868e-05/0.006483, allocations: 109.7 kB / 296.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.006489, allocations: 3.938 kB / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.006496, allocations: 8 kB / 296.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-06/0.006498, allocations: 0 / 296.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.006533, allocations: 25.64 kB / 296.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.006748, allocations: 308.8 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.006889, allocations: 190.7 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.006917, allocations: 29.66 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.006923, allocations: 0 / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.77e-05/0.00701, allocations: 109.2 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 7.01e-07/0.007011, allocations: 0 / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005127/0.007524, allocations: 331.4 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.462e-05/0.007558, allocations: 81.11 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.007766, allocations: 353.1 kB / 297.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.007784, allocations: 33.7 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.007832, allocations: 125.5 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.007879, allocations: 75.42 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.007916, allocations: 37.7 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.008004, allocations: 354.7 kB / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.008033, allocations: 26.81 kB / 298.4 MB, free: 248 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.008077, allocations: 61.97 kB / 298.5 MB, free: 176 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.008161, allocations: 99.48 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008162, allocations: 4 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001257/0.008288, allocations: 136.1 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.0083, allocations: 8 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008305, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.008313, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.008404, allocations: 55.91 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.008407, allocations: 0 / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.008447, allocations: 15.89 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.008454, allocations: 4 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.99e-05/0.008534, allocations: 136.7 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.008558, allocations: 23.97 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.008727, allocations: 167.6 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.008728, allocations: 0 / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.00873, allocations: 4 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.008735, allocations: 3.984 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.009094, allocations: 0.5594 MB / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.009095, allocations: 128 / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.009151, allocations: 43.92 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.009173, allocations: 31.7 kB / 299.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009176, allocations: 4 kB / 299.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.009186, allocations: 11.98 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.009187, allocations: 0 / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.00919, allocations: 4 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.009372, allocations: 424.5 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.009396, allocations: 8 kB / 300.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.009464, allocations: 8 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.009497, allocations: 23.97 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.009511, allocations: 15.98 kB / 300.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.009612, allocations: 159.6 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009612, allocations: 0 / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.009801, allocations: 51.92 kB / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001498/0.0113, allocations: 0.7157 MB / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01144, allocations: 104.7 kB / 301.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.01144, allocations: 4 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.0115, allocations: 69.84 kB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01177, allocations: 83.94 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.01236, allocations: 0.5249 MB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.225e-05/0.01242, allocations: 100.3 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.01248, allocations: 45.91 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.01257, allocations: 95.34 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01257, allocations: 4 kB / 302.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of Templates: time 0.005097/0.01767, allocations: 3.701 MB / 305.9 MB, free: 9.047 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.2216775165870786]