Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001316/0.001316, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002022/0.003339, 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.000788/0.000788, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.00182, 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/1, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/1.125, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2792/0.2792, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02667/0.3059, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.527e-05, allocations: 4.609 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002209/0.002225, allocations: 1.804 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003472, allocations: 1.024 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.003549, allocations: 0 / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.003761, allocations: 59.94 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.003973, allocations: 99.88 kB / 293.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.004133, allocations: 75.61 kB / 293.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004314, allocations: 111.6 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004414, allocations: 8.75 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.004552, allocations: 83.75 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.392e-05/0.004635, allocations: 23.91 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004652, allocations: 4 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.004737, allocations: 43.92 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.004789, allocations: 35.86 kB / 294.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.00483, allocations: 15.94 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.005001, allocations: 111.5 kB / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852e-05/0.00502, allocations: 0 / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00502, allocations: 0 / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.005039, allocations: 4 kB / 294.2 MB, free: 4.707 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.0005126/0.005552, allocations: 364.3 kB / 294.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.005586, allocations: 12.03 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.005621, allocations: 4.938 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.005782, allocations: 166.4 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.005799, allocations: 4.375 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.005821, allocations: 12.36 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.005934, allocations: 61.77 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.005945, allocations: 3.938 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005953, allocations: 0 / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.005962, allocations: 4 kB / 294.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/0.005991, allocations: 11.92 kB / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.006206, allocations: 162 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006306, allocations: 89.27 kB / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.006326, allocations: 12.86 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.006338, allocations: 4 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.006448, allocations: 70.09 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006449, allocations: 3.938 kB / 295.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002935/0.006742, allocations: 109.7 kB / 295.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.006778, allocations: 59.33 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.006898, allocations: 210.6 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.006912, allocations: 29.7 kB / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.006945, allocations: 96.09 kB / 295.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.006974, allocations: 23.84 kB / 295.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.007007, allocations: 29.7 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.007094, allocations: 326.8 kB / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.00711, allocations: 11.02 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.007133, allocations: 29.69 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.007172, allocations: 40.47 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007173, allocations: 0 / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.696e-05/0.00724, allocations: 76.42 kB / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007252, allocations: 7.984 kB / 296.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007258, allocations: 4 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.007266, allocations: 4.031 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.007337, allocations: 15.94 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007341, allocations: 4 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.007366, allocations: 3.984 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007372, allocations: 4 kB / 296.2 MB, free: 2.496 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.248e-05/0.007434, allocations: 120.6 kB / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.007446, allocations: 11.92 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.00754, allocations: 79.08 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007542, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.007543, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007548, allocations: 7.984 kB / 296.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.007748, allocations: 307.5 kB / 296.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007749, allocations: 0 / 296.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.007773, allocations: 11.98 kB / 296.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.007785, allocations: 15.91 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007786, allocations: 0 / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.007791, allocations: 0 / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.007793, allocations: 4 kB / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.007794, allocations: 0 / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.512e-05/0.007889, allocations: 223 kB / 297 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.007907, allocations: 11.94 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.007943, allocations: 0 / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.007972, allocations: 15.95 kB / 297 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.007984, allocations: 8 kB / 297 MB, free: 1.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.008034, allocations: 67.77 kB / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008034, allocations: 0 / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001335/0.008168, allocations: 31.92 kB / 297.1 MB, free: 1.531 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.001506/0.009673, allocations: 0.6319 MB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.009762, allocations: 48.7 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.00977, allocations: 4 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.009797, allocations: 20.84 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.009989, allocations: 48.94 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.01044, allocations: 272.2 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.01048, allocations: 71.33 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.01052, allocations: 17.27 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.01058, allocations: 63.38 kB / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01058, allocations: 0 / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of Templates: time 0.003575/0.01415, allocations: 2.058 MB / 300.3 MB, free: 14.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.1018729731440544]