Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 177.8 kB / 8.36 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 1.996/1.996, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001138/0.001138, allocations: 95.72 kB / 262.1 MB, free: 13.87 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.2949/0.2949, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.409e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 58.85 MB / 477.1 MB, free: 5.238 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5567, allocations: 86.46 MB / 0.5503 GB, free: 12.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5571, allocations: 71.97 kB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.5752, allocations: 4.198 MB / 0.5545 GB, free: 8.562 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5753, allocations: 0 / 0.5545 GB, free: 8.562 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.5753, allocations: 0 / 0.5545 GB, free: 8.562 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.0005211/0.5758, allocations: 390.7 kB / 0.5549 GB, free: 8.137 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5759, allocations: 12.03 kB / 0.5549 GB, free: 8.125 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.576, allocations: 11.86 kB / 0.5549 GB, free: 8.113 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.5763, allocations: 199.5 kB / 0.5551 GB, free: 7.875 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5763, allocations: 0 / 0.5551 GB, free: 7.875 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.5763, allocations: 0 / 0.5551 GB, free: 7.875 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/0.5765, allocations: 28.47 kB / 0.5551 GB, free: 7.848 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5766, allocations: 45.69 kB / 0.5552 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5766, allocations: 4 kB / 0.5552 GB, free: 7.793 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5766, allocations: 3.938 kB / 0.5552 GB, free: 7.789 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5767, allocations: 4 kB / 0.5552 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.5772, allocations: 297.2 kB / 0.5555 GB, free: 7.457 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.5774, allocations: 38.56 kB / 0.5555 GB, free: 7.41 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.5774, allocations: 20.8 kB / 0.5555 GB, free: 7.387 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.5775, allocations: 0 / 0.5555 GB, free: 7.387 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5775, allocations: 38.56 kB / 0.5556 GB, free: 7.34 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.5775, allocations: 0 / 0.5556 GB, free: 7.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007158/0.5782, allocations: 145.3 kB / 0.5557 GB, free: 7.191 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.5783, allocations: 63.33 kB / 0.5558 GB, free: 7.117 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.5785, allocations: 161.4 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.5786, allocations: 25.7 kB / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.5787, allocations: 162.6 kB / 0.5561 GB, free: 6.758 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.5787, allocations: 15.66 kB / 0.5561 GB, free: 6.742 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.5787, allocations: 0 / 0.5561 GB, free: 6.742 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5789, allocations: 326.8 kB / 0.5564 GB, free: 6.414 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.5789, allocations: 12 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.579, allocations: 24.08 kB / 0.5564 GB, free: 6.379 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/0.5791, allocations: 28.12 kB / 0.5565 GB, free: 6.352 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5791, allocations: 0 / 0.5565 GB, free: 6.352 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002034/0.5793, allocations: 81.73 kB / 0.5565 GB, free: 6.266 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5794, allocations: 8 kB / 0.5566 GB, free: 6.258 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.5794, allocations: 0 / 0.5566 GB, free: 6.258 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5794, allocations: 0 / 0.5566 GB, free: 6.258 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5796, allocations: 23.92 kB / 0.5566 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.5797, allocations: 11.95 kB / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.5798, allocations: 11.98 kB / 0.5566 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5798, allocations: 0 / 0.5566 GB, free: 6.211 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 8.675e-05/0.5799, allocations: 105 kB / 0.5567 GB, free: 6.102 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.58, allocations: 11.81 kB / 0.5567 GB, free: 6.09 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.5803, allocations: 94.28 kB / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5803, allocations: 4 kB / 0.5568 GB, free: 5.988 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5803, allocations: 4 kB / 0.5568 GB, free: 5.984 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.5803, allocations: 3.953 kB / 0.5568 GB, free: 5.98 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.5809, allocations: 355 kB / 0.5572 GB, free: 5.59 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5809, allocations: 0 / 0.5572 GB, free: 5.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.5811, allocations: 23.98 kB / 0.5572 GB, free: 5.566 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.5811, allocations: 3.938 kB / 0.5572 GB, free: 5.562 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5812, allocations: 0 / 0.5572 GB, free: 5.562 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5812, allocations: 4 kB / 0.5572 GB, free: 5.559 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5812, allocations: 3.953 kB / 0.5572 GB, free: 5.555 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.5814, allocations: 183.4 kB / 0.5574 GB, free: 5.359 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.5815, allocations: 97.08 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.5816, allocations: 3.984 kB / 0.5575 GB, free: 5.242 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.5818, allocations: 12 kB / 0.5575 GB, free: 5.23 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.5819, allocations: 15.94 kB / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5819, allocations: 0 / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.582, allocations: 127.2 kB / 0.5576 GB, free: 5.09 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5821, allocations: 0 / 0.5576 GB, free: 5.09 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.5824, allocations: 16 kB / 0.5576 GB, free: 5.074 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.001001/0.5834, allocations: 346.1 kB / 0.558 GB, free: 4.777 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.5837, allocations: 51.92 kB / 0.558 GB, free: 4.727 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5837, allocations: 0 / 0.558 GB, free: 4.727 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.5838, allocations: 28 kB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5841, allocations: 20.94 kB / 0.558 GB, free: 4.684 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.5846, allocations: 193.8 kB / 0.5582 GB, free: 4.469 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.585, allocations: 0.7119 MB / 0.5589 GB, free: 3.73 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.5851, allocations: 23.42 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5851, allocations: 0 / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of Templates: time 0.005167/0.5903, allocations: 1.713 MB / 0.5606 GB, free: 1.996 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches