Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002547, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002374, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.007/1.007, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1875/1.194, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1628/0.1628, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02128/0.1841, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.963e-05, allocations: 8.984 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002354/0.002374, allocations: 1.78 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003474, allocations: 0.8804 MB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.003538, allocations: 4 kB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.003769, allocations: 95.56 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.003924, allocations: 75.59 kB / 288.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.004166, allocations: 119.5 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004318, allocations: 99.7 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.004393, allocations: 16.2 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.004515, allocations: 87.7 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.00461, allocations: 47.88 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.004626, allocations: 8 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.004701, allocations: 35.98 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.004745, allocations: 19.94 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.004773, allocations: 19.88 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004923, allocations: 99.59 kB / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.004933, allocations: 0 / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004934, allocations: 0 / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.004943, allocations: 0 / 289.3 MB, free: 4.918 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.0004053/0.005348, allocations: 335.8 kB / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.005377, allocations: 8.031 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.005408, allocations: 16.92 kB / 289.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.005552, allocations: 145.5 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.005567, allocations: 4.375 kB / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.005585, allocations: 384 / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.005681, allocations: 65.77 kB / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.00569, allocations: 11.86 kB / 289.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.005697, allocations: 3.984 kB / 289.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.005701, allocations: 0 / 289.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.005723, allocations: 12 kB / 289.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.00593, allocations: 162 kB / 290.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.006027, allocations: 93.22 kB / 290.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.006046, allocations: 12.86 kB / 290.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006057, allocations: 4.062 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.632e-05/0.006143, allocations: 62.16 kB / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006144, allocations: 0 / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002642/0.006408, allocations: 113.5 kB / 290.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.006434, allocations: 55.39 kB / 290.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.006567, allocations: 185 kB / 290.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.006579, allocations: 29.7 kB / 290.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.006608, allocations: 92.11 kB / 290.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.006635, allocations: 27.78 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.006663, allocations: 25.7 kB / 290.8 MB, free: 3.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.006739, allocations: 326.8 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.006755, allocations: 10.77 kB / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.006779, allocations: 29.69 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.006815, allocations: 32.53 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006816, allocations: 0 / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.193e-05/0.006888, allocations: 80.44 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.0069, allocations: 8 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006905, allocations: 0 / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.006915, allocations: 0 / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.006984, allocations: 19.98 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.006986, allocations: 0 / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.007013, allocations: 8 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.007018, allocations: 0 / 291.3 MB, free: 2.797 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 0.0001277/0.007145, allocations: 128.6 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.007158, allocations: 11.92 kB / 291.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.007252, allocations: 87.09 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007254, allocations: 0 / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.007255, allocations: 0 / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007258, allocations: 0 / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.007455, allocations: 295.3 kB / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007456, allocations: 384 / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.007485, allocations: 15.98 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.007494, allocations: 7.953 kB / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007496, allocations: 0 / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.007502, allocations: 8 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007504, allocations: 4.031 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007505, allocations: 4 kB / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.404e-05/0.007599, allocations: 219 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007613, allocations: 0 / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.007651, allocations: 8 kB / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.007673, allocations: 7.984 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.007682, allocations: 0 / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.007724, allocations: 59.89 kB / 292.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007724, allocations: 0 / 292.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.007862, allocations: 23.94 kB / 292.1 MB, free: 1.867 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.00135/0.009212, allocations: 0.6327 MB / 292.8 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.009311, allocations: 56.69 kB / 292.8 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.009319, allocations: 96 / 292.8 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.009356, allocations: 32.86 kB / 292.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.009577, allocations: 191.5 kB / 293 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.01001, allocations: 235 kB / 293.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.01004, allocations: 67.33 kB / 293.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.01008, allocations: 16.5 kB / 293.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.01014, allocations: 71.45 kB / 293.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01014, allocations: 0 / 293.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of Templates: time 0.003343/0.01348, allocations: 2.031 MB / 295.4 MB, free: 14.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9847749397158623]