Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009172/0.0009172, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002236, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009154/0.0009154, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002094, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9764/0.9764, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09427/1.071, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2906/0.2906, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02648/0.3171, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.153e-05, allocations: 3.844 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.0036/0.003622, allocations: 1.8 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.004808, allocations: 1.025 MB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.004882, allocations: 0 / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.005088, allocations: 59.69 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.005322, allocations: 95.53 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.005534, allocations: 79.59 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.005685, allocations: 103.7 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.005763, allocations: 11.97 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005879, allocations: 79.77 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.005955, allocations: 35.89 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.00597, allocations: 4 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.006055, allocations: 43.92 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.006098, allocations: 23.88 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.006134, allocations: 15.94 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.006297, allocations: 119.5 kB / 297.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.006312, allocations: 4 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006313, allocations: 0 / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.006328, allocations: 0 / 297.4 MB, free: 1.578 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.0004141/0.006742, allocations: 356.9 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.006771, allocations: 16.92 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.006802, allocations: 8.922 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.006951, allocations: 162.4 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006966, allocations: 384 / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.006981, allocations: 4.375 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.007081, allocations: 69.69 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.007089, allocations: 192 / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.007097, allocations: 4.375 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007103, allocations: 7.875 kB / 298.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.007128, allocations: 8 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.007326, allocations: 173.9 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.007414, allocations: 85.23 kB / 298.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.007432, allocations: 16.92 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.007442, allocations: 0 / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.156e-05/0.007533, allocations: 66.19 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.007534, allocations: 0 / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002949/0.007829, allocations: 117.4 kB / 298.5 MB, free: 404 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.007856, allocations: 51.41 kB / 298.6 MB, free: 340 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.007978, allocations: 212 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.007994, allocations: 33.7 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.00804, allocations: 100.1 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.008065, allocations: 19.84 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.008099, allocations: 25.7 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.008176, allocations: 330.8 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.008192, allocations: 10.83 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.008219, allocations: 21.66 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.008261, allocations: 44.58 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008262, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.789e-05/0.00834, allocations: 80.42 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008354, allocations: 11.94 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008358, allocations: 0 / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.008367, allocations: 0 / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.008433, allocations: 19.98 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008435, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.008462, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.008469, allocations: 8 kB / 299.5 MB, free: 15.37 MB / 298.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.544e-05/0.008534, allocations: 122.8 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.008549, allocations: 15.95 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.008651, allocations: 84.05 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.008654, allocations: 3.984 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.008656, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008658, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.008869, allocations: 303.4 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.008872, allocations: 4.312 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.008901, allocations: 19.88 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.008914, allocations: 11.91 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.008915, allocations: 0 / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.008922, allocations: 12.02 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.008924, allocations: 4 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008925, allocations: 0 / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.782e-05/0.009023, allocations: 219 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009039, allocations: 4 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.009079, allocations: 3.984 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.009101, allocations: 8 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.009112, allocations: 7.984 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.009173, allocations: 71.62 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009173, allocations: 0 / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.009321, allocations: 20 kB / 300.4 MB, free: 14.41 MB / 298.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.001365/0.01069, allocations: 0.6115 MB / 301 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.01078, allocations: 48.77 kB / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.01079, allocations: 7.984 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.01081, allocations: 24.8 kB / 301.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.01099, allocations: 39.28 kB / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.01145, allocations: 272.6 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.13e-05/0.01149, allocations: 75.19 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.01152, allocations: 12.97 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.01159, allocations: 75.48 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01159, allocations: 0 / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Templates: time 0.003731/0.01532, allocations: 2.072 MB / 303.6 MB, free: 11.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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: 2.8181402683258057]