Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.0008297/0.0008297, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001948, 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.0008054/0.0008054, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001854, 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.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09717/1.106, allocations: 53.87 MB / 243.7 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.2663/0.2663, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02787/0.2942, 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.563e-05, allocations: 8.422 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002923/0.002938, allocations: 1.811 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.00439, allocations: 1.017 MB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.004444, allocations: 0 / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.00459, allocations: 47.64 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.004768, allocations: 95.53 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004902, allocations: 79.61 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.005025, allocations: 107.6 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.005086, allocations: 4 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.005189, allocations: 87.73 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.005245, allocations: 23.92 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.005257, allocations: 4 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.005326, allocations: 43.92 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.005361, allocations: 23.92 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.005387, allocations: 11.94 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.005519, allocations: 103.6 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.005529, allocations: 0 / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005529, allocations: 0 / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.005538, allocations: 0 / 297.4 MB, free: 1.633 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.0003169/0.005855, allocations: 337 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.359e-05/0.005879, allocations: 12.92 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.005901, allocations: 8.938 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.006023, allocations: 146.3 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.006034, allocations: 8.359 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.006047, allocations: 8.375 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.006121, allocations: 57.77 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.006127, allocations: 192 / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.006134, allocations: 4.375 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.006138, allocations: 3.938 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.006165, allocations: 15.94 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.006323, allocations: 158 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.006397, allocations: 89.27 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.006417, allocations: 24.91 kB / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.006425, allocations: 0 / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.006494, allocations: 62.16 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006495, allocations: 0 / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002314/0.006726, allocations: 125.4 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.006751, allocations: 51.41 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.006839, allocations: 177.2 kB / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.00685, allocations: 33.7 kB / 298.7 MB, free: 204 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.006881, allocations: 96.11 kB / 298.8 MB, free: 104 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.006901, allocations: 23.84 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.006931, allocations: 29.69 kB / 298.8 MB, free: 44 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007037, allocations: 322.8 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.007066, allocations: 6.828 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.007092, allocations: 29.69 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.007132, allocations: 40.55 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.007133, allocations: 0 / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.82e-05/0.007201, allocations: 68.48 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.007213, allocations: 14.44 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.007217, allocations: 7.969 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/0.007223, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.007282, allocations: 19.98 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.007285, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.007308, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007314, allocations: 8 kB / 299.3 MB, free: 15.51 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 5.668e-05/0.00737, allocations: 124.6 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.007382, allocations: 11.94 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.672e-05/0.007469, allocations: 76 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007471, allocations: 4 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.91e-07/0.007472, allocations: 4 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.007474, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.007669, allocations: 291.5 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.007673, allocations: 4.312 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.007697, allocations: 11.98 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.007705, allocations: 7.953 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007708, allocations: 4 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.007713, allocations: 4 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007714, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.007716, allocations: 3.938 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.984e-05/0.007806, allocations: 227.1 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.00782, allocations: 0 / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.007862, allocations: 4 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.007882, allocations: 11.92 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.007892, allocations: 7.938 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.007931, allocations: 51.64 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007931, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.008072, allocations: 16 kB / 300.2 MB, free: 14.59 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.001315/0.009387, allocations: 0.6141 MB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.009468, allocations: 56.73 kB / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.009474, allocations: 0 / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.009497, allocations: 20.86 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.009656, allocations: 44.03 kB / 300.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.01003, allocations: 228 kB / 301.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.01007, allocations: 71.33 kB / 301.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.108e-05/0.0101, allocations: 12.97 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.01016, allocations: 63.38 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01016, allocations: 0 / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003123/0.01328, allocations: 2.065 MB / 303.4 MB, free: 11.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.8412218559533358]