Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001248/0.001248, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001934/0.003182, allocations: 457.8 kB / 10.45 MB, free: 244 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.001088/0.001088, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.002745, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.289/1.289, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09345/1.383, allocations: 53.86 MB / 243.9 MB, free: 14.87 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.2735/0.2735, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02716/0.3007, allocations: 13.24 MB / 292.8 MB, free: 6.398 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 4 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.146e-05, allocations: 3.078 kB / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003188/0.003209, allocations: 1.809 MB / 296 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.005014, allocations: 1.029 MB / 297 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.00512, allocations: 0 / 297 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.005363, allocations: 35.66 kB / 297.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.005696, allocations: 99.41 kB / 297.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.00599, allocations: 87.56 kB / 297.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.006203, allocations: 103.7 kB / 297.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.006298, allocations: 4 kB / 297.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.00647, allocations: 87.73 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.456e-05/0.006565, allocations: 23.92 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.006582, allocations: 4 kB / 297.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.006704, allocations: 47.86 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.00676, allocations: 19.86 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.0068, allocations: 15.94 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.007017, allocations: 95.66 kB / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.007031, allocations: 0 / 297.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007032, allocations: 4 kB / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.007045, allocations: 0 / 297.6 MB, free: 1.535 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.000563/0.007608, allocations: 325.1 kB / 298 MB, free: 1.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.007655, allocations: 12.92 kB / 298 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.007699, allocations: 4.938 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007913, allocations: 149.5 kB / 298.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.007935, allocations: 12.31 kB / 298.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.007959, allocations: 384 / 298.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.008103, allocations: 65.77 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.008115, allocations: 192 / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.008125, allocations: 4.375 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.008133, allocations: 3.938 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.00817, allocations: 11.98 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.008438, allocations: 169.9 kB / 298.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.00856, allocations: 81.3 kB / 298.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.008589, allocations: 16.83 kB / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.008602, allocations: 4 kB / 298.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.008724, allocations: 66.17 kB / 298.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.008725, allocations: 4 kB / 298.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003946/0.00912, allocations: 113.5 kB / 298.7 MB, free: 416 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.009156, allocations: 51.41 kB / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.009295, allocations: 169 kB / 298.9 MB, free: 168 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.009316, allocations: 29.7 kB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.009358, allocations: 92.11 kB / 299 MB, free: 36 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.009397, allocations: 27.75 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.009461, allocations: 25.69 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.009563, allocations: 326.8 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.00959, allocations: 10.83 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.009626, allocations: 30.62 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.009682, allocations: 36.53 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009683, allocations: 0 / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.009803, allocations: 80.48 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.009819, allocations: 7.938 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009824, allocations: 0 / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.009839, allocations: 4 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.00993, allocations: 19.97 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.009937, allocations: 7.938 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.009977, allocations: 4.406 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.009987, allocations: 4 kB / 299.6 MB, free: 15.43 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 9.68e-05/0.01008, allocations: 112.7 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.01011, allocations: 15.92 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.01025, allocations: 79.06 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01026, allocations: 7.938 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01026, allocations: 4 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01026, allocations: 0 / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.01058, allocations: 283.5 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01058, allocations: 7.969 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.01063, allocations: 12 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.01065, allocations: 15.92 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01066, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01066, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01067, allocations: 4 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01067, allocations: 0 / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.01083, allocations: 214.8 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.01085, allocations: 8 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.01092, allocations: 3.984 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.01095, allocations: 7.984 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01097, allocations: 8 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.306e-05/0.01103, allocations: 49.28 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01103, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.01129, allocations: 31.88 kB / 300.4 MB, free: 14.52 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.002186/0.01347, allocations: 0.614 MB / 301 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.01361, allocations: 48.7 kB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/0.01362, allocations: 0 / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.01368, allocations: 33.06 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.01402, allocations: 188.9 kB / 301.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.01462, allocations: 220.5 kB / 301.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.657e-05/0.01467, allocations: 71.33 kB / 301.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.01472, allocations: 12.97 kB / 301.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.01482, allocations: 63.38 kB / 301.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01482, allocations: 0 / 301.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005024/0.01984, allocations: 2.048 MB / 303.7 MB, free: 11.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.290383879095316]