Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 204.3 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007515/0.0007513, allocations: 98.53 kB / 297.5 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.409/0.409, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 8 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.371, allocations: 62.95 MB / 0.5184 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.5033, allocations: 90.34 MB / 0.6066 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5037, allocations: 79.95 kB / 0.6067 GB, free: 14.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.5186, allocations: 5.588 MB / 0.6122 GB, free: 9.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5187, allocations: 0 / 0.6122 GB, free: 9.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.5187, allocations: 8 kB / 0.6122 GB, free: 9.238 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006582/0.5194, allocations: 451.2 kB / 0.6126 GB, free: 8.746 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5194, allocations: 12.81 kB / 0.6126 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.5195, allocations: 12.75 kB / 0.6126 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.5198, allocations: 216.7 kB / 0.6128 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5198, allocations: 384 / 0.6128 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.5198, allocations: 4.375 kB / 0.6128 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.52, allocations: 74.22 kB / 0.6129 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5201, allocations: 4.188 kB / 0.6129 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5201, allocations: 3.938 kB / 0.6129 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5201, allocations: 0 / 0.6129 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.5203, allocations: 51.91 kB / 0.613 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.5208, allocations: 340.7 kB / 0.6133 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.521, allocations: 70.56 kB / 0.6134 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.5211, allocations: 32.97 kB / 0.6134 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.5212, allocations: 0 / 0.6134 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5212, allocations: 30.56 kB / 0.6134 GB, free: 7.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5212, allocations: 0 / 0.6134 GB, free: 7.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.5227, allocations: 497.2 kB / 0.6139 GB, free: 7.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5227, allocations: 55.41 kB / 0.6139 GB, free: 7.234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.523, allocations: 208 kB / 0.6141 GB, free: 7.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.523, allocations: 29.7 kB / 0.6142 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.5231, allocations: 108 kB / 0.6143 GB, free: 6.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.5231, allocations: 39.47 kB / 0.6143 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.5231, allocations: 4 kB / 0.6143 GB, free: 6.836 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5232, allocations: 322.8 kB / 0.6146 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5234, allocations: 67.89 kB / 0.6147 GB, free: 6.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.5235, allocations: 67.89 kB / 0.6148 GB, free: 6.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.5238, allocations: 143.5 kB / 0.6149 GB, free: 6.238 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5238, allocations: 0 / 0.6149 GB, free: 6.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003395/0.5242, allocations: 177.5 kB / 0.6151 GB, free: 6.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5242, allocations: 10.66 kB / 0.6151 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5242, allocations: 0 / 0.6151 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5242, allocations: 0 / 0.6151 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5243, allocations: 36.03 kB / 0.6151 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5244, allocations: 4 kB / 0.6151 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.5244, allocations: 23.92 kB / 0.6151 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.5244, allocations: 0 / 0.6151 GB, free: 5.988 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 (11): * Single equations (assignments): 11 * 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.0001053/0.5246, allocations: 131.6 kB / 0.6153 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.5246, allocations: 15.81 kB / 0.6153 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.525, allocations: 202.9 kB / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.525, allocations: 0 / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.525, allocations: 7.938 kB / 0.6155 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5251, allocations: 7.875 kB / 0.6155 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.5258, allocations: 0.5234 MB / 0.616 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5258, allocations: 4.062 kB / 0.616 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5259, allocations: 39.86 kB / 0.616 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5259, allocations: 0 / 0.616 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5259, allocations: 0 / 0.616 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5259, allocations: 4 kB / 0.616 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5259, allocations: 0 / 0.616 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.5263, allocations: 281.2 kB / 0.6163 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.5264, allocations: 108.8 kB / 0.6164 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.5264, allocations: 4 kB / 0.6164 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.5265, allocations: 15.98 kB / 0.6164 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.5266, allocations: 11.98 kB / 0.6164 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.5266, allocations: 0 / 0.6164 GB, free: 4.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.5267, allocations: 151.2 kB / 0.6166 GB, free: 4.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5267, allocations: 4 kB / 0.6166 GB, free: 4.383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.527, allocations: 32 kB / 0.6166 GB, free: 4.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00117/0.5282, allocations: 465 kB / 0.6171 GB, free: 4.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.5286, allocations: 147.8 kB / 0.6172 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5286, allocations: 0 / 0.6172 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.5288, allocations: 87.95 kB / 0.6173 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.5291, allocations: 20.11 kB / 0.6173 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.5297, allocations: 339.3 kB / 0.6176 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.5301, allocations: 0.7121 MB / 0.6183 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.5302, allocations: 40.08 kB / 0.6184 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.5303, allocations: 19.44 kB / 0.6184 GB, free: 2.645 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5303, allocations: 0 / 0.6184 GB, free: 2.645 MB / 426.7 MB Notification: Performance of Templates: time 0.004293/0.5346, allocations: 1.63 MB / 0.62 GB, free: 1.023 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches