Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001013/0.001013, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00173/0.002743, 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.001072/0.001072, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002557, 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1105/1.139, allocations: 53.65 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.3638/0.3638, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03293/0.3967, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.39e-05, allocations: 3.078 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003201/0.003225, allocations: 1.805 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.005894, allocations: 1.76 MB / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.005982, allocations: 0 / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.006178, allocations: 47.7 kB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.006446, allocations: 92.34 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.006636, allocations: 83.61 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.006821, allocations: 111.6 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.006913, allocations: 8.75 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.007049, allocations: 87.73 kB / 294.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.007166, allocations: 31.91 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.007183, allocations: 4 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.007399, allocations: 103.8 kB / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.007448, allocations: 19.92 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.007481, allocations: 19.94 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.007716, allocations: 155.4 kB / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-05/0.007739, allocations: 0 / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00774, allocations: 0 / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.007757, allocations: 0 / 295 MB, free: 3.895 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.0004482/0.008205, allocations: 348.4 kB / 295.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.008238, allocations: 8.031 kB / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.008268, allocations: 8.922 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.008419, allocations: 146.1 kB / 295.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.008435, allocations: 8.359 kB / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.008451, allocations: 4.375 kB / 295.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.008568, allocations: 108.5 kB / 295.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.008576, allocations: 4 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.008582, allocations: 0 / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.008587, allocations: 0 / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.008611, allocations: 10.81 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.008802, allocations: 170 kB / 295.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.008888, allocations: 85.28 kB / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.00891, allocations: 16.8 kB / 295.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.008922, allocations: 8 kB / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/0.009007, allocations: 70.16 kB / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.009007, allocations: 0 / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002794/0.009287, allocations: 101.9 kB / 296.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.009315, allocations: 55.41 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.009423, allocations: 169.2 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.009438, allocations: 25.7 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.009475, allocations: 88.12 kB / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.009504, allocations: 35.72 kB / 296.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.009535, allocations: 29.66 kB / 296.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.009621, allocations: 326.8 kB / 296.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.009638, allocations: 14.81 kB / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.00967, allocations: 48.28 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.00971, allocations: 48.44 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.009711, allocations: 0 / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.874e-05/0.00978, allocations: 68.44 kB / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.009792, allocations: 4 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009796, allocations: 0 / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.009805, allocations: 8.062 kB / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.009865, allocations: 23.88 kB / 297 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.00987, allocations: 7.984 kB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.009894, allocations: 0 / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.009898, allocations: 4 kB / 297 MB, free: 1.68 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 7.16e-05/0.00997, allocations: 120.6 kB / 297.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.009982, allocations: 7.984 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.8e-05/0.01008, allocations: 74.55 kB / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01008, allocations: 0 / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01008, allocations: 0 / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01009, allocations: 8 kB / 297.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.0103, allocations: 291.4 kB / 297.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0103, allocations: 0 / 297.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.01032, allocations: 12 kB / 297.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.01033, allocations: 19.92 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.01034, allocations: 0 / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.01034, allocations: 0 / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01034, allocations: 4 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01035, allocations: 0 / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01046, allocations: 215 kB / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01047, allocations: 8.031 kB / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.01051, allocations: 7.984 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.01054, allocations: 4 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.01055, allocations: 3.984 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.01059, allocations: 46.7 kB / 297.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 297.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01077, allocations: 51.8 kB / 297.9 MB, free: 0.7578 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.001844/0.01262, allocations: 0.7837 MB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.053e-05/0.01271, allocations: 40.83 kB / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01271, allocations: 4 kB / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.01274, allocations: 20.8 kB / 298.7 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01291, allocations: 47.92 kB / 298.8 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.01333, allocations: 207.7 kB / 299 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.01338, allocations: 71.28 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.865e-05/0.01342, allocations: 17.27 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.094e-05/0.0135, allocations: 75.34 kB / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0135, allocations: 0 / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004493/0.01799, allocations: 2.821 MB / 302 MB, free: 13.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.1532845934852958]