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.001235/0.001235, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002823, 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.001155/0.001155, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002731, 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.9207/0.9207, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08902/1.01, 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.3059/0.3059, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0233/0.3292, 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.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 8.31e-07/8.31e-07, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.234e-05, allocations: 3.156 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001862/0.001874, allocations: 1.793 MB / 295.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002935, allocations: 1.029 MB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.002988, allocations: 7.875 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.003136, allocations: 35.77 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.003299, allocations: 91.55 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.003423, allocations: 75.61 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.003549, allocations: 115.6 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.003608, allocations: 4 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.003706, allocations: 83.8 kB / 297.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.003766, allocations: 23.92 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.003778, allocations: 4 kB / 297.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.003845, allocations: 43.92 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.00388, allocations: 19.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.003906, allocations: 15.94 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004045, allocations: 99.53 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.004058, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004058, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.004071, allocations: 0 / 297.4 MB, free: 1.652 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.0003753/0.004447, allocations: 337.1 kB / 297.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.004475, allocations: 16.91 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.0045, allocations: 4.938 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.00463, allocations: 141.6 kB / 297.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.004643, allocations: 4.375 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.004656, allocations: 4.312 kB / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.725e-05/0.004744, allocations: 69.75 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.00475, allocations: 192 / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.004757, allocations: 384 / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004762, allocations: 3.938 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.004787, allocations: 12 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.004962, allocations: 165.9 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.005045, allocations: 93.28 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.005061, allocations: 12.86 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.00507, allocations: 0 / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.374e-05/0.005154, allocations: 70.16 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.005155, allocations: 0 / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002502/0.005405, allocations: 109.5 kB / 298.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.005433, allocations: 59.33 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.005524, allocations: 173 kB / 298.6 MB, free: 276 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.005535, allocations: 25.7 kB / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.005563, allocations: 92.12 kB / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.00559, allocations: 35.72 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.005618, allocations: 17.72 kB / 298.8 MB, free: 88 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.005704, allocations: 326.8 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.005719, allocations: 14.81 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.005741, allocations: 21.66 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.005777, allocations: 44.58 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.005778, allocations: 4 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.327e-05/0.005841, allocations: 72.42 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.005852, allocations: 7.938 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.005856, allocations: 0 / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.00587, allocations: 4 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.00593, allocations: 12 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.005934, allocations: 3.984 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.005957, allocations: 8 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.005962, allocations: 0 / 299.3 MB, free: 15.55 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.553e-05/0.006018, allocations: 120.6 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.006029, allocations: 19.95 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/0.006114, allocations: 72.06 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006116, allocations: 0 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.006117, allocations: 3.938 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00612, allocations: 0 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.006305, allocations: 291.5 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.006308, allocations: 8.25 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.006332, allocations: 12 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.00634, allocations: 7.953 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006342, allocations: 4.031 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006347, allocations: 4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.00635, allocations: 7.984 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006351, allocations: 0 / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.23e-05/0.006443, allocations: 215 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.006456, allocations: 0 / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.006493, allocations: 8 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.006518, allocations: 11.92 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.006527, allocations: 0 / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.006563, allocations: 48.34 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006564, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.006697, allocations: 31.89 kB / 300.2 MB, free: 14.63 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.001218/0.007915, allocations: 0.6157 MB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.007997, allocations: 52.77 kB / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.008002, allocations: 0 / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.683e-05/0.008029, allocations: 24.8 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.00819, allocations: 44.34 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.008559, allocations: 220.4 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.763e-05/0.008597, allocations: 71.33 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.195e-05/0.008629, allocations: 17.09 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.008684, allocations: 63.38 kB / 301.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008684, allocations: 0 / 301.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of Templates: time 0.003223/0.01191, allocations: 2.05 MB / 303.3 MB, free: 11.79 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9487693943083286]