Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001672, allocations: 199.6 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 226.5 MB / 245.4 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009985/0.0009988, allocations: 100.1 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.3306/0.3306, allocations: 44.81 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002693, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.426, allocations: 62.96 MB / 0.5184 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5787, allocations: 90.28 MB / 0.6066 GB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.579, allocations: 75.94 kB / 0.6067 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02047/0.5995, allocations: 8.794 MB / 0.6152 GB, free: 6.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5995, allocations: 0 / 0.6152 GB, free: 6.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.521e-05/0.5996, allocations: 8 kB / 0.6153 GB, free: 6.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007906/0.6004, allocations: 0.6458 MB / 0.6159 GB, free: 5.402 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6004, allocations: 12.03 kB / 0.6159 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.6005, allocations: 44.38 kB / 0.6159 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.601, allocations: 359.9 kB / 0.6163 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.6011, allocations: 4.375 kB / 0.6163 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.6011, allocations: 4.375 kB / 0.6163 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.6013, allocations: 70.2 kB / 0.6164 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6013, allocations: 192 / 0.6164 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.6013, allocations: 3.938 kB / 0.6164 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6013, allocations: 3.938 kB / 0.6164 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.6014, allocations: 31.97 kB / 0.6164 GB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.602, allocations: 452.7 kB / 0.6168 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.6023, allocations: 46.55 kB / 0.6169 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.6023, allocations: 16.86 kB / 0.6169 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.6024, allocations: 0 / 0.6169 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.6024, allocations: 46.58 kB / 0.6169 GB, free: 4.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.6024, allocations: 0 / 0.6169 GB, free: 4.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006467/0.603, allocations: 251.9 kB / 0.6172 GB, free: 3.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6031, allocations: 55.34 kB / 0.6172 GB, free: 3.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.6043, allocations: 0.8581 MB / 0.6181 GB, free: 3.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.6043, allocations: 29.7 kB / 0.6181 GB, free: 2.992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.6045, allocations: 220.1 kB / 0.6183 GB, free: 2.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.6045, allocations: 23.7 kB / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.6045, allocations: 0 / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6047, allocations: 366.7 kB / 0.6187 GB, free: 2.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.6048, allocations: 23.98 kB / 0.6187 GB, free: 2.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.6049, allocations: 27.97 kB / 0.6187 GB, free: 2.332 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.605, allocations: 69.02 kB / 0.6188 GB, free: 2.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.605, allocations: 0 / 0.6188 GB, free: 2.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002569/0.6053, allocations: 121.5 kB / 0.6189 GB, free: 2.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6053, allocations: 7.938 kB / 0.6189 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6053, allocations: 0 / 0.6189 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6053, allocations: 4 kB / 0.6189 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.6054, allocations: 15.98 kB / 0.6189 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6054, allocations: 0 / 0.6189 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.6055, allocations: 15.92 kB / 0.6189 GB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.6055, allocations: 7.922 kB / 0.619 GB, free: 2.086 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 (5): * Single equations (assignments): 5 * 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.0002076/0.6057, allocations: 214.9 kB / 0.6192 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.6058, allocations: 43.44 kB / 0.6192 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.6061, allocations: 153.2 kB / 0.6193 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6061, allocations: 3.938 kB / 0.6193 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6061, allocations: 0 / 0.6193 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6062, allocations: 3.984 kB / 0.6194 GB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.6069, allocations: 0.6115 MB / 0.6199 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.6069, allocations: 0 / 0.6199 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.607, allocations: 12 kB / 0.62 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.607, allocations: 0 / 0.62 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.607, allocations: 0 / 0.62 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.607, allocations: 0 / 0.62 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.607, allocations: 3.938 kB / 0.62 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.6073, allocations: 235.2 kB / 0.6202 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.6075, allocations: 164.5 kB / 0.6203 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.6075, allocations: 0 / 0.6203 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.6076, allocations: 19.98 kB / 0.6204 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.6077, allocations: 3.938 kB / 0.6204 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6077, allocations: 4 kB / 0.6204 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000717/0.6084, allocations: 0.6472 MB / 0.621 GB, free: 15.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6084, allocations: 0 / 0.621 GB, free: 15.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.6087, allocations: 56 kB / 0.6211 GB, free: 15.82 MB / 442.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 (5): * Single equations (assignments): 5 * 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.000921/0.6097, allocations: 402.2 kB / 0.6214 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.6099, allocations: 71.89 kB / 0.6215 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6099, allocations: 0 / 0.6215 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.61, allocations: 27.98 kB / 0.6215 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.6104, allocations: 29.34 kB / 0.6216 GB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.6117, allocations: 0.9273 MB / 0.6225 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6121, allocations: 0.8262 MB / 0.6233 GB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.954e-05/0.6122, allocations: 47.81 kB / 0.6233 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.6123, allocations: 27.44 kB / 0.6233 GB, free: 13.56 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6123, allocations: 3.938 kB / 0.6234 GB, free: 13.55 MB / 442.7 MB Notification: Performance of Templates: time 0.006727/0.619, allocations: 2.47 MB / 0.6258 GB, free: 11.07 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches