Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001115/0.001115, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.00217, 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.0007219/0.0007219, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008936/0.001615, 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.9879/0.9879, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08514/1.073, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.3483/0.3483, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02735/0.3757, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.039e-05, allocations: 7.156 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002467/0.002487, allocations: 1.801 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003931, allocations: 1.021 MB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.003997, allocations: 4 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.004178, allocations: 43.69 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.004367, allocations: 87.48 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.004497, allocations: 83.61 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004638, allocations: 103.7 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.004711, allocations: 7.938 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004817, allocations: 79.81 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.004887, allocations: 35.84 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.0049, allocations: 4 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.004972, allocations: 43.92 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.005019, allocations: 15.92 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.005056, allocations: 15.94 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.00523, allocations: 99.66 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.313e-05/0.005253, allocations: 0 / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005254, allocations: 0 / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.00527, allocations: 0 / 297.4 MB, free: 1.641 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.0004732/0.005743, allocations: 348.9 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.005773, allocations: 12.92 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.005801, allocations: 8.938 kB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.00594, allocations: 150.2 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.005954, allocations: 4.375 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.005968, allocations: 384 / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.006063, allocations: 65.77 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006071, allocations: 192 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.006078, allocations: 384 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.006085, allocations: 3.938 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.006115, allocations: 19.92 kB / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.006305, allocations: 158 kB / 298.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.00639, allocations: 89.34 kB / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.00641, allocations: 16.84 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.006421, allocations: 0 / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.954e-05/0.00651, allocations: 66.16 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.11e-07/0.006511, allocations: 0 / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004018/0.006913, allocations: 117.4 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.00694, allocations: 55.41 kB / 298.5 MB, free: 440 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.007036, allocations: 173.3 kB / 298.7 MB, free: 252 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.007049, allocations: 33.7 kB / 298.7 MB, free: 212 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.007076, allocations: 96.11 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.007104, allocations: 27.83 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.007134, allocations: 17.72 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.007216, allocations: 326.8 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.007232, allocations: 10.83 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.007256, allocations: 22.64 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.007297, allocations: 44.53 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.007298, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.019e-05/0.007368, allocations: 76.42 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.007382, allocations: 7.938 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.007387, allocations: 7.938 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.007396, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.00746, allocations: 15.98 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.007462, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.00749, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007496, allocations: 4 kB / 299.3 MB, free: 15.52 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.447e-05/0.007561, allocations: 124.6 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.007572, allocations: 11.97 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.007678, allocations: 79.61 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.007682, allocations: 4 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.007685, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007689, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.007909, allocations: 291.4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.007911, allocations: 8.312 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.00794, allocations: 11.98 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.007951, allocations: 7.953 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.007953, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.007962, allocations: 12.03 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007963, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007965, allocations: 3.938 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.008072, allocations: 220.8 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.008089, allocations: 4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.008127, allocations: 4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.00816, allocations: 11.92 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.008171, allocations: 4 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.008212, allocations: 51.64 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008212, allocations: 0 / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000138/0.00835, allocations: 20 kB / 300.2 MB, free: 14.6 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.00136/0.00971, allocations: 0.6169 MB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.009817, allocations: 52.75 kB / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.009825, allocations: 0 / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.009856, allocations: 24.8 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.0001945/0.01005, allocations: 43.84 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.0005221/0.01057, allocations: 228 kB / 301.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.01062, allocations: 71.33 kB / 301.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.017e-05/0.01066, 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 7.527e-05/0.01074, allocations: 71.48 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01074, allocations: 0 / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of Templates: time 0.003865/0.0146, allocations: 2.049 MB / 303.3 MB, free: 11.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.9422013498842716]