Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 197.5 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009104/0.0009103, allocations: 95.64 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.3648/0.3648, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002787, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4001, allocations: 62.95 MB / 0.5184 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.5276, allocations: 90.65 MB / 0.6069 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5279, allocations: 83.94 kB / 0.607 GB, free: 14.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.5479, allocations: 6.572 MB / 0.6134 GB, free: 7.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5479, allocations: 0 / 0.6134 GB, free: 7.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.548, allocations: 0 / 0.6134 GB, free: 7.957 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.0006028/0.5486, allocations: 454.8 kB / 0.6139 GB, free: 7.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5486, allocations: 12.03 kB / 0.6139 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.5487, allocations: 12.75 kB / 0.6139 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.549, allocations: 233.7 kB / 0.6141 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.5491, allocations: 4.375 kB / 0.6141 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.5491, allocations: 4.375 kB / 0.6141 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.5492, allocations: 58.22 kB / 0.6142 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5493, allocations: 192 / 0.6142 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5493, allocations: 3.938 kB / 0.6142 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5493, allocations: 0 / 0.6142 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.5494, allocations: 27.97 kB / 0.6142 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.5498, allocations: 288.9 kB / 0.6145 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.55, allocations: 66.56 kB / 0.6146 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.55, allocations: 20.84 kB / 0.6146 GB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.5501, allocations: 4 kB / 0.6146 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.5502, allocations: 63.39 kB / 0.6146 GB, free: 6.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.5502, allocations: 4 kB / 0.6146 GB, free: 6.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.5508, allocations: 189.1 kB / 0.6148 GB, free: 6.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.5508, allocations: 55.39 kB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.551, allocations: 206.9 kB / 0.6151 GB, free: 6.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5511, allocations: 25.7 kB / 0.6151 GB, free: 6.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.5511, allocations: 108.1 kB / 0.6152 GB, free: 5.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.5512, allocations: 27.58 kB / 0.6152 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.5512, allocations: 4 kB / 0.6152 GB, free: 5.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5513, allocations: 338.6 kB / 0.6156 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.5514, allocations: 19.98 kB / 0.6156 GB, free: 5.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.5514, allocations: 37.7 kB / 0.6156 GB, free: 5.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5516, allocations: 57.7 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5516, allocations: 0 / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.5518, allocations: 101.5 kB / 0.6158 GB, free: 5.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5518, allocations: 11 kB / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5518, allocations: 4 kB / 0.6158 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5518, allocations: 0 / 0.6158 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.5519, allocations: 16.36 kB / 0.6158 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5519, allocations: 3.938 kB / 0.6158 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.552, allocations: 11.91 kB / 0.6158 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.552, allocations: 4 kB / 0.6158 GB, free: 5.301 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.0001142/0.5521, allocations: 132.2 kB / 0.6159 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.5521, allocations: 15.91 kB / 0.616 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.5524, allocations: 119 kB / 0.6161 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5524, allocations: 0 / 0.6161 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5524, allocations: 0 / 0.6161 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5524, allocations: 7.984 kB / 0.6161 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.5529, allocations: 415.2 kB / 0.6165 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5529, allocations: 4 kB / 0.6165 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.553, allocations: 16.02 kB / 0.6165 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.553, allocations: 0 / 0.6165 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.553, allocations: 4 kB / 0.6165 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.553, allocations: 4 kB / 0.6165 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.553, allocations: 3.938 kB / 0.6165 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5533, allocations: 208.5 kB / 0.6167 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.5533, allocations: 97.02 kB / 0.6168 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.5534, allocations: 7.938 kB / 0.6168 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.5534, allocations: 7.984 kB / 0.6168 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.5535, allocations: 7.938 kB / 0.6168 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.5535, allocations: 4 kB / 0.6168 GB, free: 4.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.5537, allocations: 159.2 kB / 0.617 GB, free: 4.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5537, allocations: 0 / 0.617 GB, free: 4.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.5539, allocations: 39.88 kB / 0.617 GB, free: 3.965 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.001086/0.555, allocations: 466.6 kB / 0.6175 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5553, allocations: 67.89 kB / 0.6175 GB, free: 3.605 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5553, allocations: 0 / 0.6175 GB, free: 3.605 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.5553, allocations: 28.11 kB / 0.6175 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.5557, allocations: 31.97 kB / 0.6176 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.5563, allocations: 269.9 kB / 0.6178 GB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5566, allocations: 0.7083 MB / 0.6185 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.5566, allocations: 20.53 kB / 0.6185 GB, free: 2.504 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.5567, allocations: 19.44 kB / 0.6186 GB, free: 2.484 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5567, allocations: 0 / 0.6186 GB, free: 2.484 MB / 426.7 MB Notification: Performance of Templates: time 0.004601/0.5613, allocations: 1.747 MB / 0.6203 GB, free: 0.75 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches