Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 200.5 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.373/1.373, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007839/0.0007839, allocations: 96.41 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3261/0.3261, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002796, allocations: 8 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3677, allocations: 62.95 MB / 0.5184 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4964, allocations: 90.06 MB / 0.6064 GB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.4968, allocations: 79.95 kB / 0.6064 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.5119, allocations: 5.662 MB / 0.612 GB, free: 9.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5119, allocations: 0 / 0.612 GB, free: 9.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.5119, allocations: 0 / 0.612 GB, free: 9.496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005652/0.5125, allocations: 419.4 kB / 0.6124 GB, free: 9.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5126, allocations: 12.03 kB / 0.6124 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.5126, allocations: 12.84 kB / 0.6124 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5129, allocations: 200.1 kB / 0.6126 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5129, allocations: 384 / 0.6126 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.513, allocations: 384 / 0.6126 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.5132, allocations: 75.95 kB / 0.6127 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5132, allocations: 192 / 0.6127 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5132, allocations: 3.938 kB / 0.6127 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5132, allocations: 7.938 kB / 0.6127 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.5134, allocations: 47.91 kB / 0.6127 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.5138, allocations: 296.8 kB / 0.613 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.514, allocations: 50.56 kB / 0.6131 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.514, allocations: 28.94 kB / 0.6131 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.5141, allocations: 3.938 kB / 0.6131 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.5141, allocations: 38.55 kB / 0.6131 GB, free: 8.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.5141, allocations: 0 / 0.6131 GB, free: 8.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008245/0.515, allocations: 241.1 kB / 0.6134 GB, free: 7.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.515, allocations: 77.11 kB / 0.6134 GB, free: 7.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.5152, allocations: 156.7 kB / 0.6136 GB, free: 7.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5152, allocations: 29.7 kB / 0.6136 GB, free: 7.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.5153, allocations: 96.12 kB / 0.6137 GB, free: 7.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5153, allocations: 23.66 kB / 0.6137 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5153, allocations: 0 / 0.6137 GB, free: 7.496 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5155, allocations: 328 kB / 0.614 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5156, allocations: 39.97 kB / 0.6141 GB, free: 7.129 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.5157, allocations: 57.75 kB / 0.6141 GB, free: 7.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.5159, allocations: 84.84 kB / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5159, allocations: 4 kB / 0.6142 GB, free: 6.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002679/0.5162, allocations: 133.4 kB / 0.6143 GB, free: 6.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5162, allocations: 8 kB / 0.6143 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5162, allocations: 288 / 0.6143 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5163, allocations: 0 / 0.6143 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.5164, allocations: 27.98 kB / 0.6144 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5164, allocations: 0 / 0.6144 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.5165, allocations: 11.98 kB / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.5165, allocations: 4 kB / 0.6144 GB, free: 6.789 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 (7): * Single equations (assignments): 7 * 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 8.665e-05/0.5166, allocations: 121.8 kB / 0.6145 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.5166, allocations: 15.88 kB / 0.6145 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.517, allocations: 146.6 kB / 0.6147 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.517, allocations: 0 / 0.6147 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.517, allocations: 4 kB / 0.6147 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.517, allocations: 0 / 0.6147 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.5175, allocations: 414.3 kB / 0.6151 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5175, allocations: 11.88 kB / 0.6151 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.5176, allocations: 19.98 kB / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5176, allocations: 0 / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5176, allocations: 0 / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5177, allocations: 4 kB / 0.6151 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5177, allocations: 3.938 kB / 0.6151 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.518, allocations: 231.4 kB / 0.6153 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.518, allocations: 89.02 kB / 0.6154 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.5181, allocations: 7.984 kB / 0.6154 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.5182, allocations: 12 kB / 0.6154 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5182, allocations: 7.922 kB / 0.6154 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5182, allocations: 4 kB / 0.6154 GB, free: 5.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.5183, allocations: 119.2 kB / 0.6155 GB, free: 5.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5183, allocations: 0 / 0.6155 GB, free: 5.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.5187, allocations: 51.98 kB / 0.6156 GB, free: 5.445 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 (7): * Single equations (assignments): 7 * 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.001123/0.5198, allocations: 0.4972 MB / 0.6161 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.5201, allocations: 91.94 kB / 0.6162 GB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5201, allocations: 0 / 0.6162 GB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.5202, allocations: 51.91 kB / 0.6162 GB, free: 4.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.5205, allocations: 20.94 kB / 0.6162 GB, free: 4.945 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.521, allocations: 205 kB / 0.6164 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.5213, allocations: 0.6965 MB / 0.6171 GB, free: 3.988 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.5214, allocations: 12.67 kB / 0.6171 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.5214, allocations: 19.42 kB / 0.6171 GB, free: 3.953 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5214, allocations: 0 / 0.6171 GB, free: 3.953 MB / 426.7 MB Notification: Performance of Templates: time 0.004483/0.5259, allocations: 1.839 MB / 0.6189 GB, free: 2.117 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches