Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001176/0.001176, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.002913, allocations: 452 kB / 10.43 MB, free: 264 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.00112/0.00112, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002662, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.906/0.906, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1235/1.029, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.1171/0.1171, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01947/0.1366, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.181e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001895/0.001907, allocations: 1.77 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.002754, allocations: 0.8192 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.002814, allocations: 0 / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.00301, allocations: 91.58 kB / 270.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.003149, allocations: 83.59 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003314, allocations: 87.69 kB / 270.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.003572, allocations: 111.6 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.003639, allocations: 12.17 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.003758, allocations: 83.86 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.003842, allocations: 51.83 kB / 270.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.003858, allocations: 4 kB / 270.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.00393, allocations: 35.88 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.00397, allocations: 23.92 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.003996, allocations: 15.94 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004133, allocations: 103.7 kB / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.004142, allocations: 0 / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004142, allocations: 3.938 kB / 270.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.00415, allocations: 0 / 270.8 MB, free: 15.16 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.0003557/0.004505, allocations: 339.7 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.521e-05/0.004531, allocations: 12.03 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.004559, allocations: 8.922 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.004692, allocations: 149.6 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004704, allocations: 384 / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.004722, allocations: 4.375 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.004819, allocations: 65.77 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004827, allocations: 3.938 kB / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.004834, allocations: 0 / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004838, allocations: 7.922 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.004859, allocations: 11.98 kB / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.005028, allocations: 170 kB / 271.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.005112, allocations: 85.28 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.005129, allocations: 8.859 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.00514, allocations: 0 / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.747e-05/0.005228, allocations: 78.09 kB / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005229, allocations: 0 / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002527/0.005481, allocations: 113.5 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.005506, allocations: 55.41 kB / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.005604, allocations: 180.3 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.005623, allocations: 29.7 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.005657, allocations: 104 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.005681, allocations: 19.8 kB / 272.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.00571, allocations: 29.69 kB / 272.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.005782, allocations: 322.8 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.005799, allocations: 18.77 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.005822, allocations: 21.7 kB / 272.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.005865, allocations: 44.45 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.005866, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.47e-05/0.00594, allocations: 76.36 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.005952, allocations: 4 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.005956, allocations: 0 / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.005966, allocations: 4 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.006026, allocations: 20.02 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.006029, allocations: 0 / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.006054, allocations: 8 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.006059, allocations: 0 / 272.7 MB, free: 13.02 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 5.38e-05/0.006112, allocations: 116.7 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.006125, allocations: 15.92 kB / 272.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.814e-05/0.006213, allocations: 75.2 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006216, allocations: 3.984 kB / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006217, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.00622, allocations: 4 kB / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.0064, allocations: 291.4 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006401, allocations: 0 / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.006426, allocations: 12 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.006439, allocations: 19.88 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00644, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006447, allocations: 4 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006449, allocations: 3.938 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00645, allocations: 384 / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.341e-05/0.006543, allocations: 211.1 kB / 273.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.006558, allocations: 4 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.006597, allocations: 16.02 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.006619, allocations: 11.92 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.006629, allocations: 4 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.00667, allocations: 55.64 kB / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00667, allocations: 0 / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.00681, allocations: 23.94 kB / 273.6 MB, free: 12.11 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.001488/0.008298, allocations: 0.6399 MB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.433e-05/0.008383, allocations: 40.83 kB / 274.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.008389, allocations: 7.938 kB / 274.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.008425, allocations: 28.78 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.00865, allocations: 176.5 kB / 274.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.00904, allocations: 238.2 kB / 274.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.009077, allocations: 67.34 kB / 274.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.158e-05/0.009108, allocations: 12.95 kB / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.00917, allocations: 67.36 kB / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00917, allocations: 0 / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Templates: time 0.003312/0.01248, allocations: 2.044 MB / 276.9 MB, free: 8.691 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.652632429264486]