Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009744/0.0009744, allocations: 200.7 kB / 18.11 MB, free: 3.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 95.11 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3564/0.3564, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004094, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4922, allocations: 90.65 MB / 0.607 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4925, allocations: 75.95 kB / 0.607 GB, free: 14.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.5114, allocations: 6.796 MB / 0.6137 GB, free: 7.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5114, allocations: 0 / 0.6137 GB, free: 7.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.5114, allocations: 3.938 kB / 0.6137 GB, free: 7.754 MB / 426.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.0005895/0.512, allocations: 478.5 kB / 0.6141 GB, free: 7.234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5121, allocations: 8.031 kB / 0.6141 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.5121, allocations: 12.84 kB / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.5125, allocations: 240.9 kB / 0.6144 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5125, allocations: 4.375 kB / 0.6144 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.5125, allocations: 384 / 0.6144 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5127, allocations: 62.16 kB / 0.6144 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5127, allocations: 192 / 0.6144 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5127, allocations: 7.938 kB / 0.6144 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.5127, allocations: 0 / 0.6144 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.5128, allocations: 23.98 kB / 0.6145 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.5132, allocations: 304.9 kB / 0.6148 GB, free: 6.488 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5134, allocations: 66.55 kB / 0.6148 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.5135, allocations: 24.84 kB / 0.6148 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5135, allocations: 0 / 0.6148 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.5136, allocations: 75.28 kB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5136, allocations: 0 / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.5142, allocations: 189.1 kB / 0.6151 GB, free: 6.109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5142, allocations: 51.41 kB / 0.6151 GB, free: 6.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.5145, allocations: 267.9 kB / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5145, allocations: 33.7 kB / 0.6154 GB, free: 5.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.5146, allocations: 116 kB / 0.6155 GB, free: 5.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.5146, allocations: 19.8 kB / 0.6156 GB, free: 5.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.5146, allocations: 8 kB / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5148, allocations: 326.8 kB / 0.6159 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.5148, allocations: 27.92 kB / 0.6159 GB, free: 5.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.5149, allocations: 41.58 kB / 0.6159 GB, free: 5.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.515, allocations: 69.75 kB / 0.616 GB, free: 5.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.515, allocations: 0 / 0.616 GB, free: 5.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.5152, allocations: 109.4 kB / 0.6161 GB, free: 5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5153, allocations: 4 kB / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5153, allocations: 0 / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5153, allocations: 4 kB / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.5154, allocations: 16 kB / 0.6161 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5154, allocations: 0 / 0.6161 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.5154, allocations: 11.89 kB / 0.6162 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.5154, allocations: 4 kB / 0.6162 GB, free: 4.961 MB / 426.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.5156, allocations: 141.7 kB / 0.6163 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.5156, allocations: 15.81 kB / 0.6163 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.5158, allocations: 123 kB / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5159, allocations: 0 / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5159, allocations: 0 / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5159, allocations: 4 kB / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.5164, allocations: 443.2 kB / 0.6168 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5164, allocations: 4.031 kB / 0.6169 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.5164, allocations: 15.98 kB / 0.6169 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5164, allocations: 0 / 0.6169 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5164, allocations: 0 / 0.6169 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5164, allocations: 4 kB / 0.6169 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5165, allocations: 3.938 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.5167, allocations: 212.1 kB / 0.6171 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.5168, allocations: 104.9 kB / 0.6172 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.5168, allocations: 4 kB / 0.6172 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.5169, allocations: 8.359 kB / 0.6172 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5169, allocations: 7.938 kB / 0.6172 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5169, allocations: 7.984 kB / 0.6172 GB, free: 3.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.5171, allocations: 196.6 kB / 0.6174 GB, free: 3.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5171, allocations: 3.938 kB / 0.6174 GB, free: 3.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.5174, allocations: 40 kB / 0.6174 GB, free: 3.539 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009351/0.5184, allocations: 467.1 kB / 0.6179 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.5185, allocations: 63.91 kB / 0.6179 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5186, allocations: 0 / 0.6179 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/0.5186, allocations: 44.12 kB / 0.618 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.519, allocations: 29.97 kB / 0.618 GB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.5195, allocations: 326.9 kB / 0.6183 GB, free: 2.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.5198, allocations: 0.7238 MB / 0.619 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.5199, allocations: 16.56 kB / 0.619 GB, free: 2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.5199, allocations: 27.42 kB / 0.6191 GB, free: 1.973 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5199, allocations: 0 / 0.6191 GB, free: 1.973 MB / 426.7 MB Notification: Performance of Templates: time 0.004305/0.5242, allocations: 1.859 MB / 0.6209 GB, free: 128 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches