Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009861/0.0009862, allocations: 194.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008286/0.0008286, allocations: 103.2 kB / 296.1 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.3909/0.3909, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 62.96 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4896, allocations: 90.12 MB / 0.6045 GB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4899, allocations: 71.97 kB / 0.6045 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.509, allocations: 8.888 MB / 0.6132 GB, free: 6.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.509, allocations: 0 / 0.6132 GB, free: 6.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.509, allocations: 12 kB / 0.6132 GB, free: 6.258 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.000694/0.5097, allocations: 0.6341 MB / 0.6139 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5098, allocations: 12.03 kB / 0.6139 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.5099, allocations: 40.38 kB / 0.6139 GB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.5103, allocations: 360.1 kB / 0.6143 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5104, allocations: 384 / 0.6143 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.5104, allocations: 4.312 kB / 0.6143 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5105, allocations: 58.25 kB / 0.6143 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.5105, allocations: 192 / 0.6143 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5106, allocations: 3.938 kB / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5106, allocations: 0 / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.5107, allocations: 31.91 kB / 0.6143 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.5113, allocations: 448.7 kB / 0.6148 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.5114, allocations: 30.58 kB / 0.6148 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.5115, allocations: 20.91 kB / 0.6148 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.5115, allocations: 0 / 0.6148 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5115, allocations: 34.5 kB / 0.6149 GB, free: 4.434 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.5115, allocations: 8 kB / 0.6149 GB, free: 4.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002794/0.5118, allocations: 105.1 kB / 0.615 GB, free: 4.316 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5119, allocations: 51.41 kB / 0.615 GB, free: 4.254 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.513, allocations: 0.862 MB / 0.6159 GB, free: 3.383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5131, allocations: 25.7 kB / 0.6159 GB, free: 3.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.5132, allocations: 232.2 kB / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.5132, allocations: 3.906 kB / 0.6161 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5132, allocations: 0 / 0.6161 GB, free: 3.117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5134, allocations: 362.8 kB / 0.6164 GB, free: 2.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.5135, allocations: 12 kB / 0.6165 GB, free: 2.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.5135, allocations: 11.98 kB / 0.6165 GB, free: 2.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.5136, allocations: 40.78 kB / 0.6165 GB, free: 2.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5136, allocations: 0 / 0.6165 GB, free: 2.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001607/0.5138, allocations: 105.1 kB / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5138, allocations: 4 kB / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5138, allocations: 0 / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5138, allocations: 0 / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.5139, allocations: 8.031 kB / 0.6166 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.5139, allocations: 0 / 0.6166 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.514, allocations: 8 kB / 0.6166 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.514, allocations: 7.984 kB / 0.6166 GB, free: 2.551 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 (2): * Single equations (assignments): 2 * 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.0001712/0.5142, allocations: 213.7 kB / 0.6168 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.5142, allocations: 35.53 kB / 0.6169 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.5144, allocations: 128.2 kB / 0.617 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5145, allocations: 4 kB / 0.617 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5145, allocations: 3.938 kB / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5145, allocations: 0 / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.5148, allocations: 329.4 kB / 0.6173 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5148, allocations: 0 / 0.6173 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.5148, allocations: 7.984 kB / 0.6173 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5148, allocations: 0 / 0.6173 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5148, allocations: 0 / 0.6173 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5149, allocations: 4 kB / 0.6173 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5149, allocations: 4.031 kB / 0.6173 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.5151, allocations: 187 kB / 0.6175 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.5153, allocations: 172.5 kB / 0.6177 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.5153, allocations: 3.984 kB / 0.6177 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.5154, allocations: 4 kB / 0.6177 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.5154, allocations: 4.031 kB / 0.6177 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.5155, allocations: 0 / 0.6177 GB, free: 1.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006797/0.5161, allocations: 0.6511 MB / 0.6183 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5161, allocations: 0 / 0.6183 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.5164, allocations: 51.94 kB / 0.6184 GB, free: 0.6719 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 (2): * Single equations (assignments): 2 * 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.0008056/0.5172, allocations: 345.2 kB / 0.6187 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5174, allocations: 31.92 kB / 0.6187 GB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5174, allocations: 3.938 kB / 0.6187 GB, free: 420 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.5175, allocations: 19.92 kB / 0.6188 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.5178, allocations: 31.39 kB / 0.6188 GB, free: 372 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.519, allocations: 0.9366 MB / 0.6197 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.5194, allocations: 0.8223 MB / 0.6205 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.5195, allocations: 23.67 kB / 0.6205 GB, free: 14.52 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5195, allocations: 4 kB / 0.6205 GB, free: 14.52 MB / 442.7 MB Notification: Performance of Templates: time 0.006894/0.5264, allocations: 4.107 MB / 0.6245 GB, free: 10.39 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches