Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_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.0009313/0.0009313, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001161/0.001161, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.9604/0.9604, allocations: 177 MB / 205.1 MB, free: 5.473 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.2435/0.2435, allocations: 34.87 MB / 296.6 MB, free: 448 kB / 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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.066e-05, allocations: 2.312 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002343/0.002363, allocations: 1.763 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003596, allocations: 1.016 MB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.003668, allocations: 0 / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.003937, allocations: 39.7 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.004238, allocations: 95.48 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.004432, allocations: 91.53 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.004583, allocations: 111.6 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.004664, allocations: 11.97 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.004751, allocations: 55.84 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.004823, allocations: 39.89 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.004838, allocations: 4 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.005004, allocations: 111.7 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.00505, allocations: 19.92 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.005082, allocations: 19.92 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.005307, allocations: 167.5 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00531, allocations: 0 / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.005311, allocations: 4 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005315, allocations: 3.938 kB / 382.9 MB, free: 14.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007157/0.006031, allocations: 463.7 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.006067, allocations: 8.031 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.006105, allocations: 16.84 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.006248, allocations: 145.8 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.006264, allocations: 4.375 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.006281, allocations: 8.375 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.006406, allocations: 104 kB / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006414, allocations: 192 / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-06/0.006421, allocations: 384 / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006427, allocations: 3.938 kB / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.006452, allocations: 19.92 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.006667, allocations: 252.4 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.006754, allocations: 47.05 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.006779, allocations: 35.7 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.006795, allocations: 4 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.463e-05/0.006879, allocations: 61.05 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.00688, allocations: 0 / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003264/0.007207, allocations: 161.3 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.007239, allocations: 77.11 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.007355, allocations: 219.3 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007368, allocations: 25.7 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.007417, allocations: 150.8 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.007449, allocations: 39.67 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.007485, allocations: 31.38 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.007592, allocations: 0.4923 MB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.007613, allocations: 15.98 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.007657, allocations: 68.75 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.007709, allocations: 51.36 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007712, allocations: 8.016 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001076/0.00782, allocations: 97.45 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007831, allocations: 4 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007835, allocations: 0 / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007847, allocations: 0 / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.007911, allocations: 35.92 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007914, allocations: 0 / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.007948, allocations: 4 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.007953, allocations: 0 / 385.5 MB, free: 11.29 MB / 362.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 (13): * Single equations (assignments): 13 * 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.259e-05/0.008026, allocations: 160.6 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.008046, allocations: 27.86 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.008179, allocations: 106.4 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008182, allocations: 7.938 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008184, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.008187, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.008459, allocations: 369.6 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008461, allocations: 0 / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.008491, allocations: 19.92 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008494, allocations: 4 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.008499, allocations: 4.031 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008501, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008502, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.008646, allocations: 267.6 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.008658, allocations: 7.953 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.008676, allocations: 7.984 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.008719, allocations: 4 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.008743, allocations: 11.92 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.008756, allocations: 4 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.008817, allocations: 163.5 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008817, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.009031, allocations: 59.86 kB / 386.7 MB, free: 10.02 MB / 362.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 (11): * Single equations (assignments): 9 * 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.001126/0.01016, allocations: 0.5237 MB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.01027, allocations: 55.58 kB / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01027, allocations: 0 / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.01031, allocations: 39.61 kB / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01053, allocations: 43.05 kB / 387.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.01084, allocations: 226.1 kB / 387.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.01088, allocations: 63.34 kB / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.455e-05/0.01092, allocations: 20.64 kB / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.011, allocations: 98.17 kB / 387.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.011, allocations: 0 / 387.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of Templates: time 0.004442/0.01545, allocations: 2.95 MB / 390.7 MB, free: 6.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_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.0219425042159855]