Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 92.41 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.495/0.495, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 20 kB / 431.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.5776, allocations: 86.66 MB / 0.5634 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.578, allocations: 79.95 kB / 0.5634 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0297/0.6077, allocations: 7.805 MB / 0.5711 GB, free: 8.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6077, allocations: 0 / 0.5711 GB, free: 8.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.218e-05/0.6078, allocations: 4 kB / 0.5711 GB, free: 8.066 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001004/0.6088, allocations: 0.637 MB / 0.5717 GB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.6088, allocations: 12.03 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.609, allocations: 42.69 kB / 0.5717 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.6096, allocations: 323.4 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6097, allocations: 0 / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.6097, allocations: 4 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.6099, allocations: 62.69 kB / 0.5721 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.61, allocations: 0 / 0.5721 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.61, allocations: 7.469 kB / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.61, allocations: 0 / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.6102, allocations: 39.92 kB / 0.5722 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.6112, allocations: 432.6 kB / 0.5726 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.6114, allocations: 46.56 kB / 0.5726 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.6114, allocations: 0 / 0.5726 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.6115, allocations: 30.56 kB / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.6115, allocations: 0 / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005474/0.612, allocations: 137.2 kB / 0.5728 GB, free: 6.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.6121, allocations: 51.41 kB / 0.5728 GB, free: 6.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.614, allocations: 0.7863 MB / 0.5736 GB, free: 5.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.6141, allocations: 25.7 kB / 0.5736 GB, free: 5.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.6143, allocations: 230.6 kB / 0.5738 GB, free: 5.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.6144, allocations: 11.81 kB / 0.5739 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.6144, allocations: 0 / 0.5739 GB, free: 5.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6145, allocations: 322.8 kB / 0.5742 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.6147, allocations: 15.98 kB / 0.5742 GB, free: 4.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.6148, allocations: 19.98 kB / 0.5742 GB, free: 4.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.6149, allocations: 20 kB / 0.5742 GB, free: 4.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.615, allocations: 0 / 0.5742 GB, free: 4.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003067/0.6153, allocations: 77.59 kB / 0.5743 GB, free: 4.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6153, allocations: 4 kB / 0.5743 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6153, allocations: 4 kB / 0.5743 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6153, allocations: 4 kB / 0.5743 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.6155, allocations: 15.89 kB / 0.5743 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6155, allocations: 0 / 0.5743 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.6157, allocations: 7.984 kB / 0.5743 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6157, allocations: 4 kB / 0.5743 GB, free: 4.535 MB / 394.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 (3): * Single equations (assignments): 3 * 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.0003406/0.6161, allocations: 213.8 kB / 0.5745 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.6162, allocations: 43.42 kB / 0.5746 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.6166, allocations: 129 kB / 0.5747 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6167, allocations: 0 / 0.5747 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6167, allocations: 3.953 kB / 0.5747 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6167, allocations: 0 / 0.5747 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.6171, allocations: 326 kB / 0.575 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6172, allocations: 0 / 0.575 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.6173, allocations: 15.98 kB / 0.575 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.6173, allocations: 1.125 kB / 0.575 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6173, allocations: 8 kB / 0.575 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6173, allocations: 0 / 0.575 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6173, allocations: 0 / 0.575 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.6177, allocations: 211 kB / 0.5752 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.618, allocations: 168.5 kB / 0.5754 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.6181, allocations: 3.984 kB / 0.5754 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.6183, allocations: 4 kB / 0.5754 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.6183, allocations: 7.938 kB / 0.5754 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.6184, allocations: 0 / 0.5754 GB, free: 3.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.6196, allocations: 0.6393 MB / 0.576 GB, free: 2.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6196, allocations: 4 kB / 0.576 GB, free: 2.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.6201, allocations: 59.95 kB / 0.5761 GB, free: 2.621 MB / 394.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001026/0.6211, allocations: 361.7 kB / 0.5764 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.6215, allocations: 47.97 kB / 0.5765 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6215, allocations: 0 / 0.5765 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.6216, allocations: 23.98 kB / 0.5765 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.6221, allocations: 13.97 kB / 0.5765 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.6242, allocations: 0.9326 MB / 0.5774 GB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.6247, allocations: 0.8301 MB / 0.5782 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.6249, allocations: 19.42 kB / 0.5783 GB, free: 452 kB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6249, allocations: 0 / 0.5783 GB, free: 452 kB / 394.7 MB Notification: Performance of Templates: time 0.0122/0.6371, allocations: 4.045 MB / 0.5822 GB, free: 12.39 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches