Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002294/0.002299, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2937/0.2937, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.63e-05, allocations: 0 / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.5596, allocations: 86.08 MB / 0.55 GB, free: 13.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.56, allocations: 75.47 kB / 0.55 GB, free: 13.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01995/0.5799, allocations: 4.27 MB / 0.5542 GB, free: 8.887 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.58, allocations: 4 kB / 0.5542 GB, free: 8.883 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.58, allocations: 0 / 0.5542 GB, free: 8.883 MB / 395.1 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.0005799/0.5806, allocations: 394.7 kB / 0.5546 GB, free: 8.453 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5807, allocations: 8.031 kB / 0.5546 GB, free: 8.445 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.5808, allocations: 15.86 kB / 0.5546 GB, free: 8.43 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.5811, allocations: 203.5 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5811, allocations: 0 / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.5812, allocations: 4 kB / 0.5548 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.5813, allocations: 20 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5814, allocations: 45.62 kB / 0.5549 GB, free: 8.113 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5815, allocations: 0 / 0.5549 GB, free: 8.113 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5815, allocations: 0 / 0.5549 GB, free: 8.113 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5815, allocations: 7.938 kB / 0.5549 GB, free: 8.105 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.5821, allocations: 277.3 kB / 0.5551 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5822, allocations: 34.58 kB / 0.5552 GB, free: 7.754 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.5822, allocations: 12.86 kB / 0.5552 GB, free: 7.738 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.5823, allocations: 0 / 0.5552 GB, free: 7.738 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5823, allocations: 38.5 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5823, allocations: 0 / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007264/0.5831, allocations: 145.3 kB / 0.5554 GB, free: 7.543 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.5831, allocations: 55.39 kB / 0.5554 GB, free: 7.477 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.5835, allocations: 178.5 kB / 0.5556 GB, free: 7.289 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.5836, allocations: 25.7 kB / 0.5556 GB, free: 7.258 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5837, allocations: 174.5 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.5838, allocations: 23.66 kB / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.5838, allocations: 0 / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.584, allocations: 314.8 kB / 0.5561 GB, free: 6.746 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.5841, allocations: 16 kB / 0.5561 GB, free: 6.73 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.5841, allocations: 20.06 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.5842, allocations: 15.98 kB / 0.5562 GB, free: 6.695 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5842, allocations: 0 / 0.5562 GB, free: 6.695 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002038/0.5844, allocations: 65.69 kB / 0.5562 GB, free: 6.625 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5845, allocations: 4 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5845, allocations: 0 / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5845, allocations: 0 / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.5847, allocations: 35.92 kB / 0.5563 GB, free: 6.586 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5848, allocations: 3.953 kB / 0.5563 GB, free: 6.582 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.5849, allocations: 15.98 kB / 0.5563 GB, free: 6.566 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.5849, allocations: 0 / 0.5563 GB, free: 6.566 MB / 395.1 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 () * 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 0.000108/0.5851, allocations: 104.9 kB / 0.5564 GB, free: 6.457 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.5851, allocations: 15.95 kB / 0.5564 GB, free: 6.441 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.5854, allocations: 91.48 kB / 0.5565 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5854, allocations: 4 kB / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5855, allocations: 0 / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5855, allocations: 3.953 kB / 0.5565 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.5861, allocations: 343 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5861, allocations: 4 kB / 0.5568 GB, free: 5.961 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.5863, allocations: 23.92 kB / 0.5568 GB, free: 5.938 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5863, allocations: 0 / 0.5568 GB, free: 5.938 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5863, allocations: 8 kB / 0.5568 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5863, allocations: 4 kB / 0.5568 GB, free: 5.926 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5864, allocations: 3.953 kB / 0.5568 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.5866, allocations: 171.3 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.5867, allocations: 93 kB / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.5868, allocations: 3.938 kB / 0.5571 GB, free: 5.625 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.587, allocations: 15.98 kB / 0.5571 GB, free: 5.609 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.587, allocations: 11.95 kB / 0.5571 GB, free: 5.598 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5871, allocations: 4 kB / 0.5571 GB, free: 5.594 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.5873, allocations: 148.9 kB / 0.5573 GB, free: 5.449 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5873, allocations: 0 / 0.5573 GB, free: 5.449 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.5877, allocations: 27.94 kB / 0.5573 GB, free: 5.422 MB / 395.1 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 () * 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.001087/0.5888, allocations: 339.2 kB / 0.5576 GB, free: 5.125 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.589, allocations: 43.92 kB / 0.5577 GB, free: 5.082 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5891, allocations: 0 / 0.5577 GB, free: 5.082 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.5891, allocations: 20.16 kB / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.5895, allocations: 23.42 kB / 0.5577 GB, free: 5.043 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.5901, allocations: 194.2 kB / 0.5579 GB, free: 4.824 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.5905, allocations: 0.7158 MB / 0.5586 GB, free: 4.082 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.5906, allocations: 19.42 kB / 0.5586 GB, free: 4.062 MB / 395.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5906, allocations: 4 kB / 0.5586 GB, free: 4.059 MB / 395.1 MB Notification: Performance of Templates: time 0.005868/0.5965, allocations: 1.738 MB / 0.5603 GB, free: 2.324 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches