Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 196.1 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.395/1.395, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008279/0.0008279, allocations: 111 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.3953/0.3953, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000248/0.000248, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3465, allocations: 62.97 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4737, allocations: 89.61 MB / 0.6059 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4739, allocations: 75.94 kB / 0.606 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02033/0.4943, allocations: 8.841 MB / 0.6146 GB, free: 6.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4943, allocations: 0 / 0.6146 GB, free: 6.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.075e-05/0.4944, allocations: 4 kB / 0.6146 GB, free: 6.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00104/0.4955, allocations: 0.6535 MB / 0.6153 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4955, allocations: 8.031 kB / 0.6153 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4956, allocations: 44.38 kB / 0.6153 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.4962, allocations: 356.2 kB / 0.6157 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4962, allocations: 4.312 kB / 0.6157 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.4963, allocations: 4.375 kB / 0.6157 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.4965, allocations: 54.23 kB / 0.6157 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4965, allocations: 4.172 kB / 0.6157 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4965, allocations: 3.938 kB / 0.6157 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.4966, allocations: 0 / 0.6157 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4967, allocations: 43.97 kB / 0.6158 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.4974, allocations: 428.7 kB / 0.6162 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4976, allocations: 50.44 kB / 0.6162 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.4977, allocations: 28.94 kB / 0.6163 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4977, allocations: 0 / 0.6163 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4977, allocations: 30.56 kB / 0.6163 GB, free: 4.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4977, allocations: 0 / 0.6163 GB, free: 4.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003767/0.4981, allocations: 133.2 kB / 0.6164 GB, free: 4.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4982, allocations: 59.28 kB / 0.6165 GB, free: 4.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.4995, allocations: 0.8503 MB / 0.6173 GB, free: 3.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4995, allocations: 29.7 kB / 0.6173 GB, free: 3.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.4997, allocations: 216 kB / 0.6175 GB, free: 3.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4997, allocations: 11.89 kB / 0.6176 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.4997, allocations: 0 / 0.6176 GB, free: 3.559 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4999, allocations: 362.8 kB / 0.6179 GB, free: 3.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.4999, allocations: 15.98 kB / 0.6179 GB, free: 3.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.5, allocations: 19.98 kB / 0.6179 GB, free: 3.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.5001, allocations: 44.83 kB / 0.618 GB, free: 3.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5001, allocations: 7.938 kB / 0.618 GB, free: 3.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002148/0.5003, allocations: 117 kB / 0.6181 GB, free: 2.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5004, allocations: 10.97 kB / 0.6181 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5004, allocations: 0 / 0.6181 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5004, allocations: 0 / 0.6181 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.5005, allocations: 11.98 kB / 0.6181 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5005, allocations: 0 / 0.6181 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5006, allocations: 8 kB / 0.6181 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.5006, allocations: 0 / 0.6181 GB, free: 2.957 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 (3): * Single equations (assignments): 3 * 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.0002017/0.5008, allocations: 217.7 kB / 0.6183 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.5009, allocations: 43.44 kB / 0.6184 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.5012, allocations: 125.1 kB / 0.6185 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5012, allocations: 0 / 0.6185 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5012, allocations: 0 / 0.6185 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5012, allocations: 7.875 kB / 0.6185 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.5016, allocations: 333.4 kB / 0.6188 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5016, allocations: 0 / 0.6188 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.5017, allocations: 16.38 kB / 0.6188 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5017, allocations: 0 / 0.6188 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.5017, allocations: 4 kB / 0.6188 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5017, allocations: 3.984 kB / 0.6188 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5017, allocations: 0 / 0.6188 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.502, allocations: 211 kB / 0.619 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.5022, allocations: 164.5 kB / 0.6192 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.5023, allocations: 4 kB / 0.6192 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.5024, allocations: 7.984 kB / 0.6192 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5024, allocations: 3.938 kB / 0.6192 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.5024, allocations: 8 kB / 0.6192 GB, free: 1.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007456/0.5032, allocations: 0.6472 MB / 0.6199 GB, free: 1.078 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.5032, allocations: 0 / 0.6199 GB, free: 1.078 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.5035, allocations: 55.94 kB / 0.6199 GB, free: 1.023 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 (3): * Single equations (assignments): 3 * 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.000849/0.5044, allocations: 341.3 kB / 0.6202 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.5046, allocations: 43.97 kB / 0.6203 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5046, allocations: 0 / 0.6203 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.5047, allocations: 23.98 kB / 0.6203 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.5051, allocations: 30.23 kB / 0.6203 GB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5063, allocations: 0.9073 MB / 0.6212 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.5068, allocations: 0.8212 MB / 0.622 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.5068, allocations: 40.23 kB / 0.6221 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.5069, allocations: 19.44 kB / 0.6221 GB, free: 14.87 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5069, allocations: 0 / 0.6221 GB, free: 14.87 MB / 442.7 MB Notification: Performance of Templates: time 0.005963/0.5129, allocations: 2.319 MB / 0.6243 GB, free: 12.54 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches