Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 226.5 MB / 245.4 MB, free: 6.539 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009736/0.0009737, allocations: 90.19 kB / 297.4 MB, free: 6.719 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4379/0.4379, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3699, allocations: 62.96 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5275, allocations: 90.65 MB / 0.607 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5279, allocations: 87.94 kB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.5529, allocations: 6.561 MB / 0.6134 GB, free: 8.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5529, allocations: 0 / 0.6134 GB, free: 8.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.5529, allocations: 0 / 0.6134 GB, free: 8.047 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.0007748/0.5537, allocations: 462.7 kB / 0.6139 GB, free: 7.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5538, allocations: 8.031 kB / 0.6139 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.5539, allocations: 16.75 kB / 0.6139 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.5543, allocations: 225.7 kB / 0.6141 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5543, allocations: 384 / 0.6141 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.5544, allocations: 4.375 kB / 0.6141 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.5546, allocations: 58.17 kB / 0.6142 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5546, allocations: 4.125 kB / 0.6142 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.5546, allocations: 3.938 kB / 0.6142 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.5546, allocations: 7.984 kB / 0.6142 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5548, allocations: 19.98 kB / 0.6142 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.5553, allocations: 292.9 kB / 0.6145 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.5555, allocations: 66.55 kB / 0.6146 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.5556, allocations: 24.84 kB / 0.6146 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5557, allocations: 0 / 0.6146 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.5559, allocations: 67.39 kB / 0.6147 GB, free: 6.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.5559, allocations: 0 / 0.6147 GB, free: 6.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007774/0.5567, allocations: 181.1 kB / 0.6148 GB, free: 6.461 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5567, allocations: 51.41 kB / 0.6149 GB, free: 6.398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.5571, allocations: 210.9 kB / 0.6151 GB, free: 6.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.5571, allocations: 25.7 kB / 0.6151 GB, free: 6.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.5572, allocations: 108.1 kB / 0.6152 GB, free: 6.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.5572, allocations: 31.64 kB / 0.6152 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.5573, allocations: 0 / 0.6152 GB, free: 6.012 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5574, allocations: 330.8 kB / 0.6156 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.5575, allocations: 19.94 kB / 0.6156 GB, free: 5.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.5576, allocations: 37.64 kB / 0.6156 GB, free: 5.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.5578, allocations: 65.69 kB / 0.6157 GB, free: 5.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5578, allocations: 4 kB / 0.6157 GB, free: 5.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002935/0.5581, allocations: 101.5 kB / 0.6158 GB, free: 5.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5582, allocations: 10.5 kB / 0.6158 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5582, allocations: 0 / 0.6158 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5582, allocations: 0 / 0.6158 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.5584, allocations: 16.36 kB / 0.6158 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.5584, allocations: 4 kB / 0.6158 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.5585, allocations: 3.906 kB / 0.6158 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.5585, allocations: 8 kB / 0.6158 GB, free: 5.398 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.0001579/0.5587, allocations: 141.7 kB / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.5587, allocations: 7.906 kB / 0.616 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.5591, allocations: 119.2 kB / 0.6161 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5591, allocations: 4 kB / 0.6161 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5591, allocations: 3.938 kB / 0.6161 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5591, allocations: 0 / 0.6161 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.5598, allocations: 427.3 kB / 0.6165 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5598, allocations: 7.922 kB / 0.6165 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.5599, allocations: 15.98 kB / 0.6165 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5599, allocations: 0 / 0.6165 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5599, allocations: 4 kB / 0.6165 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.56, allocations: 0 / 0.6165 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.56, allocations: 3.938 kB / 0.6165 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.5603, allocations: 208.3 kB / 0.6167 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.5604, allocations: 100.9 kB / 0.6168 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.5605, allocations: 0 / 0.6168 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5606, allocations: 4 kB / 0.6168 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.5606, allocations: 15.92 kB / 0.6168 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.5607, allocations: 4 kB / 0.6168 GB, free: 4.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.5609, allocations: 151.2 kB / 0.617 GB, free: 4.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5609, allocations: 0 / 0.617 GB, free: 4.094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004972/0.5614, allocations: 39.92 kB / 0.617 GB, free: 4.055 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.001556/0.563, allocations: 467.4 kB / 0.6175 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.5632, allocations: 59.97 kB / 0.6175 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.5633, allocations: 4.062 kB / 0.6175 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5634, allocations: 35.92 kB / 0.6176 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.5639, allocations: 24.62 kB / 0.6176 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.5647, allocations: 270 kB / 0.6178 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.5651, allocations: 0.7082 MB / 0.6185 GB, free: 2.613 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.5652, allocations: 20.84 kB / 0.6185 GB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.5652, allocations: 15.44 kB / 0.6186 GB, free: 2.578 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/0.5653, allocations: 8 kB / 0.6186 GB, free: 2.57 MB / 426.7 MB Notification: Performance of Templates: time 0.005855/0.5711, allocations: 1.745 MB / 0.6203 GB, free: 0.8359 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches