Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001947/0.001947, allocations: 196.7 kB / 18.1 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.779/1.779, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007834/0.0007834, allocations: 104.2 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3185/0.3185, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002771, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3672, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4878, allocations: 89.88 MB / 0.6062 GB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.4881, allocations: 79.95 kB / 0.6063 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.5022, allocations: 5.364 MB / 0.6115 GB, free: 9.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.274e-06/0.5023, allocations: 0 / 0.6115 GB, free: 9.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.5024, allocations: 0 / 0.6115 GB, free: 9.965 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.0006943/0.5031, allocations: 439.3 kB / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.5031, allocations: 8.875 kB / 0.6119 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.5032, allocations: 8.844 kB / 0.6119 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.5035, allocations: 216.1 kB / 0.6122 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5035, allocations: 4.312 kB / 0.6122 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.5035, allocations: 8.375 kB / 0.6122 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.5037, allocations: 62.23 kB / 0.6122 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5037, allocations: 8.094 kB / 0.6122 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5038, allocations: 3.938 kB / 0.6122 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5038, allocations: 0 / 0.6122 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.5039, allocations: 47.97 kB / 0.6123 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.5044, allocations: 312.6 kB / 0.6126 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.5046, allocations: 62.55 kB / 0.6126 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.5047, allocations: 28.97 kB / 0.6127 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.5047, allocations: 4.031 kB / 0.6127 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5048, allocations: 34.56 kB / 0.6127 GB, free: 8.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5048, allocations: 0 / 0.6127 GB, free: 8.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00141/0.5062, allocations: 453.3 kB / 0.6131 GB, free: 8.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5062, allocations: 63.39 kB / 0.6132 GB, free: 8.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.5065, allocations: 179.1 kB / 0.6134 GB, free: 7.871 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.5065, allocations: 25.7 kB / 0.6134 GB, free: 7.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.5066, allocations: 108.1 kB / 0.6135 GB, free: 7.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.5066, allocations: 39.44 kB / 0.6135 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.5066, allocations: 4 kB / 0.6135 GB, free: 7.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5068, allocations: 318.8 kB / 0.6138 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.5069, allocations: 55.97 kB / 0.6139 GB, free: 7.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.5071, allocations: 47.97 kB / 0.6139 GB, free: 7.266 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.5073, allocations: 124.7 kB / 0.6141 GB, free: 7.141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5073, allocations: 0 / 0.6141 GB, free: 7.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003134/0.5076, allocations: 157.5 kB / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5077, allocations: 4 kB / 0.6142 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5077, allocations: 0 / 0.6142 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5077, allocations: 3.938 kB / 0.6142 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5078, allocations: 32.11 kB / 0.6142 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5078, allocations: 8 kB / 0.6143 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.5079, allocations: 23.86 kB / 0.6143 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.5079, allocations: 4 kB / 0.6143 GB, free: 6.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 (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.0001023/0.508, allocations: 129.8 kB / 0.6144 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.5081, allocations: 11.89 kB / 0.6144 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.5085, allocations: 174.3 kB / 0.6146 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5085, allocations: 4 kB / 0.6146 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5085, allocations: 4 kB / 0.6146 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5085, allocations: 3.938 kB / 0.6146 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.5092, allocations: 492 kB / 0.6151 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5092, allocations: 4 kB / 0.6151 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5093, allocations: 35.86 kB / 0.6151 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5094, allocations: 0 / 0.6151 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5094, allocations: 4 kB / 0.6151 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.5094, allocations: 8.062 kB / 0.6151 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5094, allocations: 0 / 0.6151 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.5098, allocations: 265.7 kB / 0.6154 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.5098, allocations: 100.8 kB / 0.6155 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5099, allocations: 4 kB / 0.6155 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.51, allocations: 19.98 kB / 0.6155 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.51, allocations: 11.98 kB / 0.6155 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.5101, allocations: 4 kB / 0.6155 GB, free: 5.539 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.5102, allocations: 137.2 kB / 0.6156 GB, free: 5.406 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5102, allocations: 0 / 0.6156 GB, free: 5.406 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.5105, allocations: 35.92 kB / 0.6157 GB, free: 5.371 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.001054/0.5115, allocations: 458.3 kB / 0.6161 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.5119, allocations: 123.9 kB / 0.6162 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5119, allocations: 0 / 0.6162 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.512, allocations: 67.89 kB / 0.6163 GB, free: 4.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.5124, allocations: 28.31 kB / 0.6163 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.5129, allocations: 294.6 kB / 0.6166 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.5132, allocations: 0.7199 MB / 0.6173 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.5133, allocations: 20.72 kB / 0.6173 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.5133, allocations: 11.44 kB / 0.6173 GB, free: 3.773 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5133, allocations: 7.938 kB / 0.6173 GB, free: 3.766 MB / 426.7 MB Notification: Performance of Templates: time 0.004342/0.5177, allocations: 1.509 MB / 0.6188 GB, free: 2.258 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches