Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.0007835/0.0007835, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001913, 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.0007289/0.0007289, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009661/0.001695, 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.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.138, allocations: 53.87 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.2495/0.2495, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0252/0.2747, allocations: 13.23 MB / 292.6 MB, free: 6.477 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.687e-05, allocations: 4.984 kB / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003599/0.003625, allocations: 1.991 MB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.005587, allocations: 1.06 MB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.005789, allocations: 4 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.00611, allocations: 43.64 kB / 297.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.006433, allocations: 95.42 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.0067, allocations: 99.52 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.006898, allocations: 147.5 kB / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.006997, allocations: 22.39 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.007131, allocations: 111.7 kB / 297.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.007215, allocations: 39.83 kB / 297.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.007232, allocations: 12 kB / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.007316, allocations: 43.98 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.007361, allocations: 23.86 kB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.007399, allocations: 23.94 kB / 297.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.007735, allocations: 123.5 kB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.00775, allocations: 0 / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007752, allocations: 4 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.007767, allocations: 0 / 297.8 MB, free: 1.254 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004857/0.008253, allocations: 406.5 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.008284, allocations: 16.92 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.008321, allocations: 16.92 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.00849, allocations: 158.9 kB / 298.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.008507, allocations: 8.375 kB / 298.4 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.008527, allocations: 8.375 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.00868, allocations: 132.1 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.008687, allocations: 4.125 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.008695, allocations: 4.375 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.0087, allocations: 3.938 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.008745, allocations: 32.81 kB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.009048, allocations: 370.1 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.009213, allocations: 105.3 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.009235, allocations: 16.8 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.009247, allocations: 4 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.009356, allocations: 99.84 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.009358, allocations: 0 / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001268/0.009484, allocations: 82.53 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.009509, allocations: 51.41 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.009618, allocations: 188.1 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.009633, allocations: 33.7 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.009678, allocations: 108 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.0097, allocations: 31.73 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.009732, allocations: 25.7 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.009799, allocations: 326.8 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.009817, allocations: 14.81 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.009848, allocations: 44.39 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.767e-05/0.009905, allocations: 78.38 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009907, allocations: 0 / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.792e-05/0.009995, allocations: 95.95 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.01001, allocations: 4 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01001, allocations: 4 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.01002, allocations: 4.125 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.01008, allocations: 31.92 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.01009, allocations: 4 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.01012, allocations: 11.94 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.01012, allocations: 4 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.143e-05/0.01018, allocations: 120.6 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.0102, allocations: 11.92 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.01029, allocations: 83.06 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01029, allocations: 3.984 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01029, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.0103, allocations: 7.984 kB / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.912e-05/0.01038, allocations: 105.8 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.01038, allocations: 3.984 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.01042, allocations: 12 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.01043, allocations: 15.89 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01044, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01044, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.01044, allocations: 0 / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01044, allocations: 3.984 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.01056, allocations: 114.7 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.01058, allocations: 11.97 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.01061, allocations: 7.984 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.01063, allocations: 7.984 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01064, allocations: 8 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.01068, allocations: 53.7 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01068, allocations: 0 / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001232/0.01081, allocations: 31.89 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001144/0.01195, allocations: 0.5465 MB / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.807e-05/0.01205, allocations: 56.77 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.01206, allocations: 3.938 kB / 301.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.01235, allocations: 24.8 kB / 301.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.0125, allocations: 56.5 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.01294, allocations: 257.7 kB / 301.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.01297, allocations: 67.84 kB / 301.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.01301, allocations: 17.73 kB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.01308, allocations: 75.3 kB / 301.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01308, allocations: 0 / 301.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Templates: time 0.00387/0.01695, allocations: 2.242 MB / 304.2 MB, free: 10.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.9181525679305196]