Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008033/0.0008031, allocations: 95.95 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4278/0.4278, allocations: 44.83 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003066, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4866, allocations: 62.95 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.659, allocations: 89.39 MB / 0.6057 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.6594, allocations: 87.86 kB / 0.6058 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.6729, allocations: 4.525 MB / 0.6102 GB, free: 11.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.673, allocations: 0 / 0.6102 GB, free: 11.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.673, allocations: 4 kB / 0.6102 GB, free: 11.33 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.0005729/0.6736, allocations: 407.5 kB / 0.6106 GB, free: 10.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6737, allocations: 12.03 kB / 0.6106 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.6737, allocations: 4.844 kB / 0.6106 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.6741, allocations: 212 kB / 0.6108 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6741, allocations: 384 / 0.6108 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.6741, allocations: 384 / 0.6108 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.6743, allocations: 50.23 kB / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6743, allocations: 4.188 kB / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6744, allocations: 15.88 kB / 0.6109 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6744, allocations: 0 / 0.6109 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.6745, allocations: 23.98 kB / 0.6109 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.675, allocations: 280.9 kB / 0.6112 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.6752, allocations: 54.48 kB / 0.6112 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.6753, allocations: 16.86 kB / 0.6113 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.6753, allocations: 4.078 kB / 0.6113 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.6753, allocations: 30.56 kB / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.6753, allocations: 0 / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000606/0.676, allocations: 165.3 kB / 0.6114 GB, free: 9.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.676, allocations: 51.41 kB / 0.6115 GB, free: 9.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.6762, allocations: 155.9 kB / 0.6116 GB, free: 9.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.6762, allocations: 25.7 kB / 0.6117 GB, free: 9.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.6763, allocations: 100.1 kB / 0.6118 GB, free: 9.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.6763, allocations: 7.812 kB / 0.6118 GB, free: 9.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6763, allocations: 8 kB / 0.6118 GB, free: 9.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6764, allocations: 322.8 kB / 0.6121 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.6765, allocations: 23.98 kB / 0.6121 GB, free: 9.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.6766, allocations: 39.92 kB / 0.6121 GB, free: 9.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.6767, allocations: 52.83 kB / 0.6122 GB, free: 9.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6767, allocations: 0 / 0.6122 GB, free: 9.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.677, allocations: 101.6 kB / 0.6123 GB, free: 8.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.677, allocations: 4 kB / 0.6123 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.677, allocations: 0 / 0.6123 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.677, allocations: 0 / 0.6123 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.6771, allocations: 15.98 kB / 0.6123 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6771, allocations: 0 / 0.6123 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.6771, allocations: 11.94 kB / 0.6123 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6772, allocations: 8 kB / 0.6123 GB, free: 8.941 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 9.208e-05/0.6773, allocations: 117.8 kB / 0.6124 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.6773, allocations: 11.89 kB / 0.6125 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.6776, allocations: 105.9 kB / 0.6126 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6776, allocations: 4 kB / 0.6126 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6776, allocations: 0 / 0.6126 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.6776, allocations: 0 / 0.6126 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.6781, allocations: 371.5 kB / 0.6129 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6781, allocations: 4 kB / 0.6129 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.6782, allocations: 16.27 kB / 0.6129 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6782, allocations: 0 / 0.6129 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6782, allocations: 0 / 0.6129 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6782, allocations: 4.312 kB / 0.6129 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6782, allocations: 0 / 0.6129 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.6785, allocations: 207.3 kB / 0.6131 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.6785, allocations: 89 kB / 0.6132 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6786, allocations: 0 / 0.6132 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.6786, allocations: 8 kB / 0.6132 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.6787, allocations: 7.922 kB / 0.6132 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.6787, allocations: 4 kB / 0.6132 GB, free: 7.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.6788, allocations: 112.8 kB / 0.6133 GB, free: 7.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6788, allocations: 4 kB / 0.6133 GB, free: 7.797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.6791, allocations: 23.92 kB / 0.6134 GB, free: 7.773 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.0009276/0.68, allocations: 403.8 kB / 0.6138 GB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.6802, allocations: 63.95 kB / 0.6138 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6802, allocations: 0 / 0.6138 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.6803, allocations: 35.86 kB / 0.6138 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.6806, allocations: 17.41 kB / 0.6139 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.6811, allocations: 193.3 kB / 0.6141 GB, free: 7.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.6815, allocations: 0.6965 MB / 0.6147 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.6816, allocations: 15.97 kB / 0.6147 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.6816, allocations: 11.44 kB / 0.6148 GB, free: 6.434 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6816, allocations: 0 / 0.6148 GB, free: 6.434 MB / 426.7 MB Notification: Performance of Templates: time 0.00381/0.6854, allocations: 1.072 MB / 0.6158 GB, free: 5.363 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches