Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 100.3 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5159/0.5159, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 15.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4585, allocations: 62.96 MB / 0.5184 GB, free: 37.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.6292, allocations: 89.63 MB / 0.606 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.6295, allocations: 83.94 kB / 0.606 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02105/0.6506, allocations: 5.731 MB / 0.6116 GB, free: 9.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6506, allocations: 3.938 kB / 0.6116 GB, free: 9.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6507, allocations: 4 kB / 0.6116 GB, free: 9.836 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007227/0.6514, allocations: 407.5 kB / 0.612 GB, free: 9.387 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/0.6515, allocations: 12.88 kB / 0.612 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.6516, allocations: 12.84 kB / 0.612 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.6519, allocations: 208 kB / 0.6122 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.652, allocations: 384 / 0.6122 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.652, allocations: 4.375 kB / 0.6123 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.6523, allocations: 75.95 kB / 0.6123 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6523, allocations: 4.188 kB / 0.6123 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6523, allocations: 3.938 kB / 0.6123 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.6524, allocations: 0 / 0.6123 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.6525, allocations: 39.95 kB / 0.6124 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.6531, allocations: 296.8 kB / 0.6127 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.6533, allocations: 58.56 kB / 0.6127 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.6534, allocations: 12.86 kB / 0.6127 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.6534, allocations: 16.09 kB / 0.6127 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.6535, allocations: 31.78 kB / 0.6128 GB, free: 8.508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.6535, allocations: 0 / 0.6128 GB, free: 8.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009756/0.6545, allocations: 189.2 kB / 0.6129 GB, free: 8.316 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.6546, allocations: 81.11 kB / 0.613 GB, free: 8.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.6548, allocations: 157.7 kB / 0.6132 GB, free: 8.055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6549, allocations: 33.64 kB / 0.6132 GB, free: 8.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.655, allocations: 100.2 kB / 0.6133 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.655, allocations: 31.5 kB / 0.6133 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.655, allocations: 0 / 0.6133 GB, free: 7.883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6552, allocations: 326.8 kB / 0.6136 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.6553, allocations: 23.98 kB / 0.6137 GB, free: 7.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.6554, allocations: 45.7 kB / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.6557, allocations: 73.05 kB / 0.6138 GB, free: 7.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6557, allocations: 0 / 0.6138 GB, free: 7.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003002/0.656, allocations: 105.6 kB / 0.6139 GB, free: 7.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.656, allocations: 4 kB / 0.6139 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6561, allocations: 0 / 0.6139 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6561, allocations: 3.938 kB / 0.6139 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.6562, allocations: 19.98 kB / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6563, allocations: 4 kB / 0.6139 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.6563, allocations: 12 kB / 0.6139 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.6564, allocations: 0 / 0.6139 GB, free: 7.254 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.6565, allocations: 125.8 kB / 0.614 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.6566, allocations: 7.906 kB / 0.614 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.657, allocations: 126.3 kB / 0.6142 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.657, allocations: 4 kB / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.657, allocations: 0 / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.657, allocations: 0 / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.6578, allocations: 398.5 kB / 0.6146 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6578, allocations: 0 / 0.6146 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.6579, allocations: 23.92 kB / 0.6146 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.658, allocations: 384 / 0.6146 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.658, allocations: 8 kB / 0.6146 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.658, allocations: 7.938 kB / 0.6146 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.658, allocations: 0 / 0.6146 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.6584, allocations: 199.7 kB / 0.6148 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.6585, allocations: 89 kB / 0.6149 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.6585, allocations: 4 kB / 0.6149 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6586, allocations: 11.94 kB / 0.6149 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.6587, allocations: 11.92 kB / 0.6149 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.6587, allocations: 4 kB / 0.6149 GB, free: 6.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.6589, allocations: 122.7 kB / 0.615 GB, free: 6.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6589, allocations: 0 / 0.615 GB, free: 6.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004802/0.6594, allocations: 44 kB / 0.6151 GB, free: 5.988 MB / 426.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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001599/0.661, allocations: 0.4979 MB / 0.6155 GB, free: 5.652 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.6613, allocations: 75.94 kB / 0.6156 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6614, allocations: 0 / 0.6156 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6615, allocations: 43.92 kB / 0.6157 GB, free: 5.535 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.662, allocations: 15.98 kB / 0.6157 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.6627, allocations: 209 kB / 0.6159 GB, free: 5.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.6632, allocations: 0.6965 MB / 0.6166 GB, free: 4.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.6633, allocations: 12.97 kB / 0.6166 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.6634, allocations: 23.42 kB / 0.6166 GB, free: 4.523 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6634, allocations: 4 kB / 0.6166 GB, free: 4.52 MB / 426.7 MB Notification: Performance of Templates: time 0.006481/0.6699, allocations: 1.783 MB / 0.6183 GB, free: 2.746 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches