Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001152/0.001152, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.002908, 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.001109/0.001109, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002496, 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.029/1.029, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.137, allocations: 53.87 MB / 243.7 MB, free: 14.92 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.2652/0.2652, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0241/0.2893, allocations: 13.23 MB / 292.6 MB, free: 6.48 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.505e-05, allocations: 3.156 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001955/0.00197, allocations: 1.802 MB / 295.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003078, allocations: 1.025 MB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.003144, allocations: 7.938 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.003359, allocations: 87.67 kB / 296.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.003581, allocations: 115.4 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.003752, allocations: 87.59 kB / 297.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.003905, allocations: 115.6 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.003978, allocations: 7.984 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.0041, allocations: 91.8 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.004194, allocations: 47.88 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.004208, allocations: 4 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.004289, allocations: 43.92 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.004332, allocations: 23.86 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.004365, allocations: 15.94 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.004516, allocations: 103.6 kB / 297.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.777e-05/0.004533, allocations: 0 / 297.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004534, allocations: 4 kB / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.004549, allocations: 0 / 297.5 MB, free: 1.523 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.000427/0.004976, allocations: 348.9 kB / 297.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.005005, allocations: 15.44 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.005034, allocations: 8.922 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.005179, allocations: 153.5 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005193, allocations: 4.312 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.005208, allocations: 4.375 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.0053, allocations: 61.77 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.005309, allocations: 4.188 kB / 298.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.005316, allocations: 4.375 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005322, allocations: 3.938 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.005347, allocations: 7.984 kB / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.005546, allocations: 174 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.939e-05/0.005636, allocations: 85.23 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.005653, allocations: 8.859 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.005662, allocations: 4 kB / 298.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.721e-05/0.00575, allocations: 62.22 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005751, allocations: 4 kB / 298.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002653/0.006016, allocations: 117.5 kB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.006041, allocations: 51.41 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.006162, allocations: 189.6 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.006175, allocations: 25.7 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.006212, allocations: 100.1 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.006234, allocations: 23.78 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.006265, allocations: 21.7 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.006331, allocations: 326.8 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.006345, allocations: 10.83 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.006369, allocations: 38.56 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.006404, allocations: 32.53 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006405, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.747e-05/0.006472, allocations: 72.52 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.006484, allocations: 11.94 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006489, allocations: 4.016 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.006497, allocations: 0 / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.006557, allocations: 19.98 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.006561, allocations: 3.984 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.006585, allocations: 4.031 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.006589, allocations: 4 kB / 299.5 MB, free: 15.38 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.912e-05/0.006648, allocations: 128.6 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.006659, allocations: 7.938 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.023e-05/0.006749, allocations: 83.67 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006751, allocations: 3.938 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.006752, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006755, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.006946, allocations: 291.5 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006948, allocations: 7.969 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.006973, allocations: 16.36 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.006983, allocations: 7.953 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006985, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.006991, allocations: 8 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006992, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006993, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.0071, allocations: 230.6 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.007114, allocations: 4 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.007151, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.007176, allocations: 11.98 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.007186, allocations: 8 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.007229, allocations: 57.61 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007229, allocations: 0 / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000141/0.00737, allocations: 27.92 kB / 300.4 MB, free: 14.44 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.001289/0.00866, allocations: 0.6075 MB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.008741, allocations: 52.7 kB / 301 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.008748, allocations: 4 kB / 301 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.008776, allocations: 28.88 kB / 301.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.008941, allocations: 46.98 kB / 301.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.00935, allocations: 242.7 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.009386, allocations: 75.45 kB / 301.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.009418, allocations: 8.984 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.009476, allocations: 71.36 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009477, allocations: 0 / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003286/0.01276, allocations: 2.061 MB / 303.5 MB, free: 11.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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: 3.089825968258083]