Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 93.59 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4371/0.4371, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.000313, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4219, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.5603, allocations: 89.39 MB / 0.6057 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5606, allocations: 75.95 kB / 0.6058 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.5734, allocations: 4.533 MB / 0.6102 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5735, allocations: 0 / 0.6102 GB, free: 11.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.5735, allocations: 0 / 0.6102 GB, free: 11.29 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.0006298/0.5741, allocations: 407.5 kB / 0.6106 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5742, allocations: 12.03 kB / 0.6106 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.5742, allocations: 8.844 kB / 0.6106 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.5745, allocations: 206.7 kB / 0.6108 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5746, allocations: 384 / 0.6108 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.5746, allocations: 8.375 kB / 0.6108 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.5747, allocations: 54.23 kB / 0.6109 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5748, allocations: 192 / 0.6109 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5748, allocations: 7.875 kB / 0.6109 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5748, allocations: 0 / 0.6109 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.5749, allocations: 23.98 kB / 0.6109 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.5754, allocations: 288.9 kB / 0.6112 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.5756, allocations: 50.5 kB / 0.6112 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.5757, allocations: 20.88 kB / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5757, allocations: 0 / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.5757, allocations: 42.56 kB / 0.6113 GB, free: 10.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5757, allocations: 4 kB / 0.6113 GB, free: 10.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005988/0.5763, allocations: 157.3 kB / 0.6115 GB, free: 9.855 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5764, allocations: 51.41 kB / 0.6115 GB, free: 9.793 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.5766, allocations: 152.7 kB / 0.6116 GB, free: 9.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5766, allocations: 25.7 kB / 0.6117 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.5767, allocations: 100.1 kB / 0.6118 GB, free: 9.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.5767, allocations: 15.81 kB / 0.6118 GB, free: 9.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.5767, allocations: 0 / 0.6118 GB, free: 9.484 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5769, allocations: 322.8 kB / 0.6121 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.577, allocations: 27.98 kB / 0.6121 GB, free: 9.133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.577, allocations: 27.92 kB / 0.6121 GB, free: 9.105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.5772, allocations: 64.83 kB / 0.6122 GB, free: 9.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.5772, allocations: 0 / 0.6122 GB, free: 9.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002062/0.5774, allocations: 93.56 kB / 0.6123 GB, free: 8.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5774, allocations: 4 kB / 0.6123 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5774, allocations: 288 / 0.6123 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5775, allocations: 0 / 0.6123 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.5775, allocations: 19.98 kB / 0.6123 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5775, allocations: 3.984 kB / 0.6123 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.5776, allocations: 8 kB / 0.6123 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.5776, allocations: 0 / 0.6123 GB, free: 8.906 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.0001139/0.5777, allocations: 125.7 kB / 0.6124 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.5778, allocations: 11.89 kB / 0.6125 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.578, allocations: 109.9 kB / 0.6126 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.578, allocations: 0 / 0.6126 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.578, allocations: 0 / 0.6126 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5781, allocations: 0 / 0.6126 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.5785, allocations: 371.5 kB / 0.6129 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5785, allocations: 4.375 kB / 0.6129 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.5786, allocations: 15.98 kB / 0.6129 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5786, allocations: 0 / 0.6129 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5786, allocations: 8 kB / 0.6129 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5786, allocations: 0 / 0.6129 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5786, allocations: 0 / 0.6129 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.5789, allocations: 195.3 kB / 0.6131 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.579, allocations: 93 kB / 0.6132 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.579, allocations: 4 kB / 0.6132 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.5791, allocations: 4 kB / 0.6132 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.5791, allocations: 11.92 kB / 0.6132 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5791, allocations: 7.938 kB / 0.6132 GB, free: 7.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.5793, allocations: 111.3 kB / 0.6134 GB, free: 7.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5793, allocations: 0 / 0.6134 GB, free: 7.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.5795, allocations: 23.92 kB / 0.6134 GB, free: 7.73 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 (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.0008881/0.5804, allocations: 404.7 kB / 0.6138 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5806, allocations: 55.97 kB / 0.6138 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5806, allocations: 4 kB / 0.6138 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.5807, allocations: 31.92 kB / 0.6139 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.581, allocations: 11.98 kB / 0.6139 GB, free: 7.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.5815, allocations: 197.3 kB / 0.6141 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.5818, allocations: 0.6926 MB / 0.6147 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.5818, allocations: 15.98 kB / 0.6147 GB, free: 6.402 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.5819, allocations: 11.44 kB / 0.6148 GB, free: 6.395 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5819, allocations: 0 / 0.6148 GB, free: 6.395 MB / 426.7 MB Notification: Performance of Templates: time 0.003489/0.5854, allocations: 1.086 MB / 0.6158 GB, free: 5.312 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches