Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0007628/0.0007628, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001867, 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.0006491/0.0006491, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009181/0.001567, 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 0.976/0.976, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1881/1.164, allocations: 52.48 MB / 238.5 MB, free: 7.637 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.1334/0.1334, allocations: 32.81 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0282/0.1616, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.499e-05, allocations: 6.312 kB / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002075/0.00209, allocations: 1.792 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.003089, allocations: 0.8843 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.003153, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.003344, allocations: 47.75 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.003487, allocations: 55.64 kB / 288.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.003715, allocations: 119.5 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.00385, allocations: 87.72 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.003926, allocations: 20.09 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.00403, allocations: 67.83 kB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.004098, allocations: 27.89 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.004116, allocations: 8 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-05/0.004194, allocations: 43.92 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.004237, allocations: 23.88 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.004265, allocations: 19.88 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004411, allocations: 91.67 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.004421, allocations: 4 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004421, allocations: 0 / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.00443, allocations: 0 / 289.2 MB, free: 5.023 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.0003983/0.004828, allocations: 339.8 kB / 289.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.004855, allocations: 8.031 kB / 289.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.004885, allocations: 12.92 kB / 289.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.005023, allocations: 154 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005035, allocations: 384 / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.005052, allocations: 4.375 kB / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.005145, allocations: 61.77 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.005155, allocations: 7.938 kB / 289.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.005162, allocations: 3.984 kB / 289.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.005169, allocations: 0 / 289.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.005191, allocations: 8 kB / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.005395, allocations: 173.9 kB / 290 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.778e-05/0.005493, allocations: 89.23 kB / 290.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.005513, allocations: 16.92 kB / 290.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.005524, allocations: 0 / 290.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.564e-05/0.005619, allocations: 66.14 kB / 290.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.00562, allocations: 0 / 290.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002972/0.005917, allocations: 109.5 kB / 290.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.005945, allocations: 55.39 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.006056, allocations: 192.2 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.006074, allocations: 29.7 kB / 290.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.006106, allocations: 100.1 kB / 290.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.006135, allocations: 31.77 kB / 290.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.006164, allocations: 21.72 kB / 290.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.006256, allocations: 326.8 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.006273, allocations: 10.77 kB / 291 MB, free: 3.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.006298, allocations: 29.69 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.006334, allocations: 32.53 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006335, allocations: 3.938 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.516e-05/0.00641, allocations: 84.47 kB / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006422, allocations: 8 kB / 291.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006427, allocations: 3.984 kB / 291.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.006437, allocations: 0 / 291.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.006506, allocations: 16 kB / 291.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.00651, allocations: 0 / 291.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.00654, allocations: 7.984 kB / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.006544, allocations: 0 / 291.2 MB, free: 2.875 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 6.362e-05/0.006608, allocations: 124.6 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.006622, allocations: 19.91 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.006726, allocations: 79.08 kB / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.006727, allocations: 0 / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.006729, allocations: 0 / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006732, allocations: 0 / 291.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.006957, allocations: 295.4 kB / 291.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.006959, allocations: 384 / 291.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.006988, allocations: 16 kB / 291.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.007001, allocations: 11.91 kB / 291.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007004, allocations: 0 / 291.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.007015, allocations: 11.98 kB / 291.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.007017, allocations: 32 / 291.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007018, allocations: 4 kB / 291.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.007127, allocations: 215 kB / 291.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.00715, allocations: 8 kB / 292 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.007186, allocations: 0 / 292 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.007213, allocations: 7.984 kB / 292 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.007224, allocations: 4 kB / 292 MB, free: 2.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.007269, allocations: 56.7 kB / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007269, allocations: 0 / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.007419, allocations: 27.92 kB / 292 MB, free: 1.945 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.001371/0.008789, allocations: 0.6383 MB / 292.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.00889, allocations: 48.75 kB / 292.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.008899, allocations: 4.094 kB / 292.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.008938, allocations: 32.84 kB / 292.8 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.009183, allocations: 180.5 kB / 292.9 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.009632, allocations: 247.4 kB / 293.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.009671, allocations: 63.34 kB / 293.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.00971, allocations: 24.47 kB / 293.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.009775, allocations: 71.45 kB / 293.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009776, allocations: 0 / 293.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Templates: time 0.003792/0.01357, allocations: 2.037 MB / 295.4 MB, free: 14.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.8773262118920684]