Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001195/0.001195, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001219/0.001219, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9575/0.9575, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.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.2797/0.2797, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.877e-05, allocations: 8.781 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00255/0.002578, allocations: 1.638 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009134/0.003492, allocations: 0.5642 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.00357, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.003856, allocations: 19.8 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.004159, allocations: 83.55 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.004421, allocations: 119.6 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.004592, allocations: 75.77 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004704, allocations: 15.83 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.004768, allocations: 35.86 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.004852, allocations: 31.89 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.004873, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.005015, allocations: 95.81 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.005067, allocations: 11.94 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.0051, allocations: 19.91 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.005321, allocations: 131.6 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005324, allocations: 4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005324, allocations: 0 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.00533, allocations: 3.984 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004716/0.005802, allocations: 435.9 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.005848, allocations: 8.031 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.005893, allocations: 8.891 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.006049, allocations: 140.5 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.006061, allocations: 384 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.006095, allocations: 12.31 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.006249, allocations: 96.03 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.006258, allocations: 4.188 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.006269, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.006278, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.057e-05/0.006308, allocations: 11.92 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.006675, allocations: 287.7 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.006747, allocations: 39.16 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.006776, allocations: 19.67 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.006799, allocations: 4 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.006825, allocations: 33.39 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.006827, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.007221, allocations: 121.4 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.007265, allocations: 77.11 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.007405, allocations: 200.4 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.007421, allocations: 29.7 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.007477, allocations: 138.8 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.007501, allocations: 35.72 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.007536, allocations: 31.31 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.007659, allocations: 0.4884 MB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.007681, allocations: 12 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.007724, allocations: 57.06 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.007773, allocations: 31.69 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.007774, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.058e-05/0.007865, allocations: 73.58 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.007877, allocations: 4 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007882, allocations: 0 / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.007898, allocations: 3.938 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.007974, allocations: 19.98 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007979, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.007998, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.008005, allocations: 7.984 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.17e-05/0.008077, allocations: 160.6 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.008098, allocations: 15.89 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.008226, allocations: 82.69 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008228, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008231, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008235, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.008519, allocations: 357.3 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008521, allocations: 4 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.008556, allocations: 11.98 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.00856, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.008566, allocations: 4.281 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.008567, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008568, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008683, allocations: 215.8 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.008693, allocations: 7.938 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.008708, allocations: 11.98 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.008742, allocations: 4 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.008775, allocations: 4 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.008779, allocations: 7.922 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.008844, allocations: 147.2 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008844, allocations: 4 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.009028, allocations: 51.8 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001031/0.01006, allocations: 487.5 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01018, allocations: 35.67 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01018, allocations: 4 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.01021, allocations: 27.61 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.0104, allocations: 19.92 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.01072, allocations: 186.3 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.01076, allocations: 63.34 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.01081, allocations: 29 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.01084, allocations: 20.48 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01084, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003656/0.0145, allocations: 2.033 MB / 388 MB, free: 8.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.3320449981838465]