Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, 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 1.998/1.998, 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.001099/0.001099, allocations: 92.94 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.3504/0.3504, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.946e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4736, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.6342, allocations: 86.09 MB / 0.55 GB, free: 13.21 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.6346, allocations: 71.97 kB / 0.55 GB, free: 13.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.6527, allocations: 4.212 MB / 0.5542 GB, free: 8.926 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6528, allocations: 0 / 0.5542 GB, free: 8.926 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.6528, allocations: 0 / 0.5542 GB, free: 8.926 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.0005399/0.6534, allocations: 389.7 kB / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6534, allocations: 8.031 kB / 0.5545 GB, free: 8.496 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.6535, allocations: 11.86 kB / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.6538, allocations: 210.7 kB / 0.5547 GB, free: 8.238 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6539, allocations: 0 / 0.5547 GB, free: 8.238 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.6539, allocations: 7.938 kB / 0.5548 GB, free: 8.23 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.447e-05/0.654, allocations: 12 kB / 0.5548 GB, free: 8.219 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.6541, allocations: 41.69 kB / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6541, allocations: 0 / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.6542, allocations: 0 / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6542, allocations: 4 kB / 0.5548 GB, free: 8.168 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.6546, allocations: 277.3 kB / 0.5551 GB, free: 7.859 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.275e-05/0.6548, allocations: 34.52 kB / 0.5551 GB, free: 7.816 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.6548, allocations: 12.86 kB / 0.5551 GB, free: 7.801 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.6549, allocations: 8.078 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.6549, allocations: 30.56 kB / 0.5552 GB, free: 7.754 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.6549, allocations: 0 / 0.5552 GB, free: 7.754 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006346/0.6556, allocations: 149.2 kB / 0.5553 GB, free: 7.602 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.6556, allocations: 55.41 kB / 0.5553 GB, free: 7.535 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.6559, allocations: 168.2 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.6559, allocations: 25.7 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.656, allocations: 162.6 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.6561, allocations: 23.66 kB / 0.5557 GB, free: 7.152 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.6561, allocations: 4 kB / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6562, allocations: 319.4 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.6563, allocations: 16 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.6563, allocations: 12 kB / 0.556 GB, free: 6.801 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.326e-05/0.6564, allocations: 12.23 kB / 0.5561 GB, free: 6.789 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6564, allocations: 3.938 kB / 0.5561 GB, free: 6.785 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.6566, allocations: 77.52 kB / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6566, allocations: 4 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6567, allocations: 0 / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6567, allocations: 7.938 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.6569, allocations: 23.98 kB / 0.5562 GB, free: 6.668 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6569, allocations: 3.953 kB / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.6571, allocations: 15.98 kB / 0.5562 GB, free: 6.648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6571, allocations: 0 / 0.5562 GB, free: 6.648 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 9.686e-05/0.6572, allocations: 101 kB / 0.5563 GB, free: 6.543 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.6573, allocations: 11.91 kB / 0.5563 GB, free: 6.531 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.6576, allocations: 86.28 kB / 0.5564 GB, free: 6.441 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6576, allocations: 7.938 kB / 0.5564 GB, free: 6.434 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6576, allocations: 0 / 0.5564 GB, free: 6.434 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6576, allocations: 7.938 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.6582, allocations: 327.1 kB / 0.5567 GB, free: 6.062 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6582, allocations: 0 / 0.5567 GB, free: 6.062 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.6584, allocations: 27.98 kB / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6585, allocations: 0 / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.6585, allocations: 7.984 kB / 0.5567 GB, free: 6.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.6585, allocations: 4 kB / 0.5567 GB, free: 6.023 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.6585, allocations: 3.953 kB / 0.5567 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.6588, allocations: 179.3 kB / 0.5569 GB, free: 5.828 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.6589, allocations: 85.02 kB / 0.557 GB, free: 5.727 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.659, allocations: 7.984 kB / 0.557 GB, free: 5.719 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.6592, allocations: 12 kB / 0.557 GB, free: 5.707 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.6592, allocations: 11.94 kB / 0.557 GB, free: 5.695 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.6592, allocations: 0 / 0.557 GB, free: 5.695 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.6594, allocations: 144.1 kB / 0.5572 GB, free: 5.555 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6595, allocations: 0 / 0.5572 GB, free: 5.555 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.6598, allocations: 23.94 kB / 0.5572 GB, free: 5.531 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.001025/0.6609, allocations: 332.2 kB / 0.5575 GB, free: 5.242 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.6611, allocations: 43.92 kB / 0.5575 GB, free: 5.199 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6611, allocations: 8 kB / 0.5576 GB, free: 5.191 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.6612, allocations: 16 kB / 0.5576 GB, free: 5.176 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.6615, allocations: 19.42 kB / 0.5576 GB, free: 5.16 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.6621, allocations: 189.8 kB / 0.5578 GB, free: 4.941 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.6625, allocations: 0.7196 MB / 0.5585 GB, free: 4.195 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.6626, allocations: 15.44 kB / 0.5585 GB, free: 4.18 MB / 395.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6626, allocations: 0 / 0.5585 GB, free: 4.18 MB / 395.1 MB Notification: Performance of Templates: time 0.005317/0.6679, allocations: 1.682 MB / 0.5601 GB, free: 2.5 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches