Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009347/0.0009347, allocations: 197.5 kB / 16.78 MB, free: 5.031 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.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007602/0.0007602, allocations: 106.7 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3361/0.3361, allocations: 44.82 MB / 392.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.000242, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.355, allocations: 62.95 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.493, allocations: 90.4 MB / 0.6047 GB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4932, allocations: 71.97 kB / 0.6048 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02047/0.5137, allocations: 9.329 MB / 0.6139 GB, free: 5.555 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5138, allocations: 3.938 kB / 0.6139 GB, free: 5.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.5138, allocations: 12 kB / 0.6139 GB, free: 5.539 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.0008167/0.5146, allocations: 0.6496 MB / 0.6146 GB, free: 4.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5147, allocations: 8.875 kB / 0.6146 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.5148, allocations: 40.47 kB / 0.6146 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.5153, allocations: 371.9 kB / 0.615 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5153, allocations: 384 / 0.615 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5154, allocations: 8.375 kB / 0.615 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5155, allocations: 66.23 kB / 0.615 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5155, allocations: 192 / 0.615 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.5156, allocations: 3.938 kB / 0.6151 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5156, allocations: 0 / 0.6151 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.5157, allocations: 43.91 kB / 0.6151 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.5165, allocations: 456.6 kB / 0.6155 GB, free: 3.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.5166, allocations: 50.59 kB / 0.6156 GB, free: 3.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.5167, allocations: 24.94 kB / 0.6156 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.5167, allocations: 0 / 0.6156 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5167, allocations: 30.56 kB / 0.6156 GB, free: 3.641 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5167, allocations: 4 kB / 0.6156 GB, free: 3.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.5178, allocations: 356 kB / 0.616 GB, free: 3.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.5178, allocations: 55.41 kB / 0.616 GB, free: 3.215 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.5191, allocations: 0.8581 MB / 0.6169 GB, free: 2.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5191, allocations: 33.7 kB / 0.6169 GB, free: 2.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5192, allocations: 220.1 kB / 0.6171 GB, free: 2.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.5193, allocations: 31.55 kB / 0.6171 GB, free: 2.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5193, allocations: 4 kB / 0.6171 GB, free: 2.055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5195, allocations: 366.7 kB / 0.6175 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.5196, allocations: 39.91 kB / 0.6175 GB, free: 1.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.5197, allocations: 35.98 kB / 0.6176 GB, free: 1.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.5198, allocations: 80.81 kB / 0.6176 GB, free: 1.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5199, allocations: 0 / 0.6176 GB, free: 1.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002689/0.5201, allocations: 157.1 kB / 0.6178 GB, free: 1.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5202, allocations: 8 kB / 0.6178 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5202, allocations: 4.25 kB / 0.6178 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5202, allocations: 0 / 0.6178 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.5203, allocations: 23.92 kB / 0.6178 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.5203, allocations: 0 / 0.6178 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.5204, allocations: 11.94 kB / 0.6178 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.5205, allocations: 7.984 kB / 0.6178 GB, free: 1.316 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 (8): * Single equations (assignments): 8 * 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.0002189/0.5207, allocations: 221.8 kB / 0.6181 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.5208, allocations: 43.44 kB / 0.6181 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.5211, allocations: 177.5 kB / 0.6183 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5211, allocations: 0 / 0.6183 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5211, allocations: 0 / 0.6183 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5212, allocations: 3.938 kB / 0.6183 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.5221, allocations: 0.6631 MB / 0.6189 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5221, allocations: 7.938 kB / 0.6189 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.5221, allocations: 19.98 kB / 0.6189 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.5222, allocations: 3.938 kB / 0.6189 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5222, allocations: 0 / 0.6189 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5222, allocations: 0 / 0.6189 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5222, allocations: 4 kB / 0.619 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.5225, allocations: 248 kB / 0.6192 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.5227, allocations: 168.5 kB / 0.6193 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.5228, allocations: 7.922 kB / 0.6194 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.5229, allocations: 11.94 kB / 0.6194 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.5229, allocations: 11.98 kB / 0.6194 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.5229, allocations: 0 / 0.6194 GB, free: 15.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006921/0.5236, allocations: 0.6472 MB / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5236, allocations: 0 / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.5239, allocations: 71.92 kB / 0.6201 GB, free: 14.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001092/0.525, allocations: 463 kB / 0.6205 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.5253, allocations: 87.86 kB / 0.6206 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5253, allocations: 0 / 0.6206 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.5254, allocations: 47.97 kB / 0.6207 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.5259, allocations: 27.33 kB / 0.6207 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5272, allocations: 1.012 MB / 0.6217 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.5276, allocations: 0.8346 MB / 0.6225 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.5277, allocations: 27.67 kB / 0.6225 GB, free: 12.53 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5277, allocations: 0 / 0.6225 GB, free: 12.53 MB / 442.7 MB Notification: Performance of Templates: time 0.008164/0.5359, allocations: 4.615 MB / 0.627 GB, free: 7.906 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches