Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002069/0.002074, allocations: 178.4 kB / 8.362 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.162/2.162, 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.00111/0.001109, allocations: 84.86 kB / 262.1 MB, free: 13.89 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.3098/0.3098, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.127e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3974, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5603, allocations: 86.33 MB / 0.5502 GB, free: 12.97 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5606, allocations: 71.97 kB / 0.5503 GB, free: 12.9 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.5785, allocations: 4.17 MB / 0.5544 GB, free: 8.727 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5786, allocations: 0 / 0.5544 GB, free: 8.727 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.5786, allocations: 4 kB / 0.5544 GB, free: 8.723 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.0005142/0.5791, allocations: 377.2 kB / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5792, allocations: 12.03 kB / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.5793, allocations: 3.953 kB / 0.5547 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.5796, allocations: 198.9 kB / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.5796, allocations: 4 kB / 0.5549 GB, free: 8.059 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.5796, allocations: 4 kB / 0.5549 GB, free: 8.055 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.317e-05/0.5797, allocations: 12 kB / 0.5549 GB, free: 8.043 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.5799, allocations: 63.34 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5799, allocations: 0 / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5799, allocations: 0 / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5799, allocations: 3.938 kB / 0.555 GB, free: 7.965 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.5804, allocations: 269.3 kB / 0.5553 GB, free: 7.664 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.5805, allocations: 30.58 kB / 0.5553 GB, free: 7.625 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.5806, allocations: 20.8 kB / 0.5553 GB, free: 7.602 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.5806, allocations: 4.078 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5806, allocations: 30.56 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 3.606e-06/0.5806, allocations: 4 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006117/0.5813, allocations: 129.4 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.5813, allocations: 81.05 kB / 0.5555 GB, free: 7.324 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5815, allocations: 129.2 kB / 0.5557 GB, free: 7.188 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.5815, allocations: 25.7 kB / 0.5557 GB, free: 7.156 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.5816, allocations: 154.6 kB / 0.5558 GB, free: 7.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.5817, allocations: 28.25 kB / 0.5559 GB, free: 6.977 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5817, allocations: 0 / 0.5559 GB, free: 6.977 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5818, allocations: 314.8 kB / 0.5562 GB, free: 6.66 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.5819, allocations: 12.25 kB / 0.5562 GB, free: 6.648 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.582, allocations: 29.7 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.582, allocations: 15.94 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5821, allocations: 4 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001605/0.5822, allocations: 61.59 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5823, allocations: 12.03 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.5823, allocations: 0 / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5823, allocations: 144 / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.5825, allocations: 35.88 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5825, allocations: 0 / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5827, allocations: 19.91 kB / 0.5564 GB, free: 6.461 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.5827, allocations: 4 kB / 0.5564 GB, free: 6.457 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.339e-05/0.5828, allocations: 105 kB / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.5828, allocations: 7.906 kB / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.5831, allocations: 82.59 kB / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5831, allocations: 0 / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.5831, allocations: 3.953 kB / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5831, allocations: 0 / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.5836, allocations: 331 kB / 0.5569 GB, free: 5.883 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5837, allocations: 4 kB / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.5838, allocations: 23.98 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5839, allocations: 0 / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.5839, allocations: 4 kB / 0.5569 GB, free: 5.852 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5839, allocations: 3.953 kB / 0.5569 GB, free: 5.848 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5839, allocations: 0 / 0.5569 GB, free: 5.848 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.5841, allocations: 171.4 kB / 0.5571 GB, free: 5.664 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.5842, allocations: 97 kB / 0.5572 GB, free: 5.551 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.5843, allocations: 3.938 kB / 0.5572 GB, free: 5.547 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.5844, allocations: 15.98 kB / 0.5572 GB, free: 5.531 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.5845, allocations: 3.953 kB / 0.5572 GB, free: 5.527 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.5845, allocations: 4 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.5846, allocations: 110.9 kB / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5847, allocations: 0 / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.585, allocations: 35.92 kB / 0.5573 GB, free: 5.383 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.001098/0.5862, allocations: 377.6 kB / 0.5577 GB, free: 5.051 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5864, allocations: 39.94 kB / 0.5577 GB, free: 5.012 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5864, allocations: 0 / 0.5577 GB, free: 5.012 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.5864, allocations: 24 kB / 0.5577 GB, free: 4.988 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.5867, allocations: 23.84 kB / 0.5578 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.5872, allocations: 134.1 kB / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.5875, allocations: 0.7079 MB / 0.5586 GB, free: 4.07 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.5876, allocations: 15.44 kB / 0.5586 GB, free: 4.055 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5877, allocations: 3.938 kB / 0.5586 GB, free: 4.051 MB / 395.1 MB Notification: Performance of Templates: time 0.005274/0.5929, allocations: 1.754 MB / 0.5603 GB, free: 2.297 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches