Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001054/0.001054, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0048/0.005854, 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.0009907/0.0009907, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002344, 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 1.013/1.013, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09719/1.11, 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.2537/0.2537, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02146/0.2752, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.902e-05, allocations: 4.422 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002387/0.002406, allocations: 1.818 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003676, allocations: 1.033 MB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.003746, allocations: 0 / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.003964, allocations: 91.56 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.004191, allocations: 127.4 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.004347, allocations: 83.61 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.0045, allocations: 123.6 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.004578, allocations: 8 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.004707, allocations: 103.7 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.004801, allocations: 51.88 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004816, allocations: 8 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.004905, allocations: 55.91 kB / 297.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.004953, allocations: 31.86 kB / 297.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.004984, allocations: 15.94 kB / 297.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.005159, allocations: 115.5 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528e-05/0.005174, allocations: 0 / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.005177, allocations: 3.984 kB / 297.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.005189, allocations: 4 kB / 297.6 MB, free: 1.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004752/0.005664, allocations: 360.8 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.0057, allocations: 12.92 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.005733, allocations: 8.922 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.005895, allocations: 151 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.005911, allocations: 4.375 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.005926, allocations: 4.375 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.006039, allocations: 69.69 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006047, allocations: 192 / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.006055, allocations: 8.375 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.00606, allocations: 7.938 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.006088, allocations: 11.98 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.006296, allocations: 173.9 kB / 298.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.006434, allocations: 93.3 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.006454, allocations: 16.86 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.006465, allocations: 0 / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.033e-05/0.006556, allocations: 70.27 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.006556, allocations: 4 kB / 298.6 MB, free: 340 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004071/0.006963, allocations: 182.6 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.006999, allocations: 51.41 kB / 298.8 MB, free: 88 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007123, allocations: 192.1 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007139, allocations: 33.7 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.00717, allocations: 92.11 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.007202, allocations: 39.69 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.007236, allocations: 29.69 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.007324, allocations: 330.7 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.007346, allocations: 14.81 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.007371, allocations: 22.22 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.007424, allocations: 57.7 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007425, allocations: 0 / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.335e-05/0.007519, allocations: 93.06 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.00753, allocations: 4 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007535, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.007544, allocations: 4 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.007609, allocations: 19.98 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007613, allocations: 7.938 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.00764, allocations: 32 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.007647, allocations: 12 kB / 299.8 MB, free: 15.09 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 (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 7.836e-05/0.007725, allocations: 119.2 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.007739, allocations: 15.92 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.007864, allocations: 88.38 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007867, allocations: 0 / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007869, allocations: 0 / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.007875, allocations: 11.92 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.008128, allocations: 332.2 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00813, allocations: 4.062 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.008165, allocations: 23.92 kB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.008177, allocations: 11.91 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.008179, allocations: 0 / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.008185, allocations: 4 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.008187, allocations: 4 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.00819, allocations: 4 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.008302, allocations: 232.5 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.008317, allocations: 0 / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.008358, allocations: 11.98 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.008385, allocations: 15.92 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.008396, allocations: 4 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.008443, allocations: 61.72 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008443, allocations: 0 / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.008594, allocations: 31.92 kB / 300.7 MB, free: 14.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001532/0.01013, allocations: 0.7022 MB / 301.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.01022, allocations: 52.16 kB / 301.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.01023, allocations: 12.05 kB / 301.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.01027, allocations: 32.78 kB / 301.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01045, allocations: 39.97 kB / 301.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.01096, allocations: 271.7 kB / 301.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.011, allocations: 71.33 kB / 301.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.01104, allocations: 24.75 kB / 301.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.01111, allocations: 75.36 kB / 302 MB, free: 13.11 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01111, allocations: 0 / 302 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Templates: time 0.004024/0.01513, allocations: 2.319 MB / 304.3 MB, free: 10.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.9637257857248187]