Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0008439/0.0008439, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001961, 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.0007476/0.0007476, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001704, 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.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1173/1.159, 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.3541/0.3541, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02603/0.3802, allocations: 12.52 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.278e-05, allocations: 3.438 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00239/0.002403, allocations: 1.811 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.005803, allocations: 1.038 MB / 293.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.005874, allocations: 0 / 293.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.006062, allocations: 42.55 kB / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.006302, allocations: 87.22 kB / 293.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.006485, allocations: 91.53 kB / 293.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.006649, allocations: 115.6 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.813e-05/0.006717, allocations: 7.984 kB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.006845, allocations: 87.75 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.006928, allocations: 35.89 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.006945, allocations: 4 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.007135, allocations: 115.8 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.007176, allocations: 15.92 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.007207, allocations: 16 kB / 294.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.007439, allocations: 151.4 kB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.007452, allocations: 0 / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007452, allocations: 0 / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.007466, allocations: 4 kB / 294.3 MB, free: 4.586 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.0004378/0.007904, allocations: 356.4 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.007932, allocations: 12.03 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.007963, allocations: 4.938 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.008125, allocations: 156.6 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.008139, allocations: 4.375 kB / 294.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.008155, allocations: 384 / 294.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.008274, allocations: 101.2 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.008283, allocations: 3.938 kB / 294.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.008293, allocations: 7.984 kB / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/0.01131, allocations: 4 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.01135, allocations: 6.828 kB / 294.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.01159, allocations: 169.8 kB / 295.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.01171, allocations: 92.19 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.01174, allocations: 12.86 kB / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.01175, allocations: 0 / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.01187, allocations: 78.25 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.01187, allocations: 0 / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003629/0.01224, allocations: 125.5 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.01227, allocations: 51.41 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.01239, allocations: 164.2 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01241, allocations: 29.7 kB / 295.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.01245, allocations: 92.11 kB / 295.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.01248, allocations: 39.72 kB / 295.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.01252, allocations: 29.64 kB / 295.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.0126, allocations: 322.8 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.01263, allocations: 14.81 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.01267, allocations: 62.64 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.01273, allocations: 56.08 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01273, allocations: 0 / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001003/0.01283, allocations: 81.36 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01285, allocations: 8 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01285, allocations: 3.984 kB / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.01286, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.01294, allocations: 20 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01294, allocations: 4 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.01298, allocations: 11.98 kB / 296.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.01299, allocations: 4.031 kB / 296.4 MB, free: 2.301 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 (13): * Single equations (assignments): 13 * 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.755e-05/0.01306, allocations: 124.6 kB / 296.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.01308, allocations: 19.86 kB / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.01319, allocations: 80.25 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.0132, allocations: 3.984 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.0132, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0132, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.01347, allocations: 355.2 kB / 297 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01347, allocations: 0 / 297 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.01351, allocations: 16.03 kB / 297 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.01353, allocations: 15.94 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01353, allocations: 4 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.01353, allocations: 0 / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01354, allocations: 0 / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01354, allocations: 4.469 kB / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.01366, allocations: 226.9 kB / 297.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01368, allocations: 4 kB / 297.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.01373, allocations: 4 kB / 297.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.01376, allocations: 11.98 kB / 297.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01377, allocations: 8 kB / 297.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.01381, allocations: 41.88 kB / 297.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01381, allocations: 0 / 297.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.01405, allocations: 59.8 kB / 297.3 MB, free: 1.277 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 (11): * Single equations (assignments): 9 * 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.004934/0.01899, allocations: 0.7861 MB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01911, allocations: 56.7 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.01912, allocations: 4 kB / 298.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.01916, allocations: 28.78 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01934, allocations: 46.61 kB / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.01978, allocations: 211.8 kB / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.01982, allocations: 75.41 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.585e-05/0.01986, allocations: 16.64 kB / 298.6 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.01994, allocations: 75.36 kB / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01994, allocations: 0 / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of Templates: time 0.004448/0.02439, allocations: 2.972 MB / 301.6 MB, free: 13.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.24936824478209]