Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 181.9 kB / 17.41 MB, free: 4.375 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.463/1.463, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0008399/0.0008398, allocations: 86.31 kB / 271.9 MB, free: 8.242 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.3999/0.3999, allocations: 43.56 MB / 363.8 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 12 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.5613, allocations: 86.95 MB / 0.5648 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5616, allocations: 67.97 kB / 0.5649 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.5789, allocations: 7.993 MB / 0.5727 GB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.579, allocations: 0 / 0.5727 GB, free: 7.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.579, allocations: 4 kB / 0.5727 GB, free: 7.281 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006749/0.5797, allocations: 0.6291 MB / 0.5733 GB, free: 6.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5797, allocations: 8.031 kB / 0.5733 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.5798, allocations: 48.36 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.5802, allocations: 348.1 kB / 0.5737 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5803, allocations: 4.375 kB / 0.5737 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.5803, allocations: 384 / 0.5737 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5804, allocations: 58.23 kB / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5805, allocations: 192 / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5805, allocations: 7.875 kB / 0.5738 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5805, allocations: 0 / 0.5738 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.5806, allocations: 27.98 kB / 0.5738 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.5812, allocations: 432.7 kB / 0.5742 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.5814, allocations: 50.5 kB / 0.5743 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.5814, allocations: 21 kB / 0.5743 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.5815, allocations: 4 kB / 0.5743 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5815, allocations: 34.56 kB / 0.5743 GB, free: 5.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.5815, allocations: 3.984 kB / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006447/0.5822, allocations: 248 kB / 0.5746 GB, free: 5.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.5822, allocations: 51.41 kB / 0.5746 GB, free: 5.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5834, allocations: 0.8495 MB / 0.5754 GB, free: 4.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.5834, allocations: 25.7 kB / 0.5755 GB, free: 4.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.5836, allocations: 224.1 kB / 0.5757 GB, free: 4.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.5836, allocations: 11.81 kB / 0.5757 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5837, allocations: 3.938 kB / 0.5757 GB, free: 4.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5838, allocations: 370.7 kB / 0.576 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.5839, allocations: 19.98 kB / 0.5761 GB, free: 3.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.584, allocations: 20.86 kB / 0.5761 GB, free: 3.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.5841, allocations: 57.02 kB / 0.5761 GB, free: 3.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.5841, allocations: 4 kB / 0.5761 GB, free: 3.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.5843, allocations: 125 kB / 0.5763 GB, free: 3.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5844, allocations: 4 kB / 0.5763 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5844, allocations: 0 / 0.5763 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5844, allocations: 4 kB / 0.5763 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.5845, allocations: 15.98 kB / 0.5763 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5845, allocations: 0.75 kB / 0.5763 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.5846, allocations: 19.92 kB / 0.5763 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5846, allocations: 0 / 0.5763 GB, free: 3.379 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 (5): * Single equations (assignments): 5 * 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.0001995/0.5848, allocations: 213.7 kB / 0.5765 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.5848, allocations: 39.53 kB / 0.5765 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.5851, allocations: 152.9 kB / 0.5767 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5852, allocations: 4 kB / 0.5767 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5852, allocations: 0 / 0.5767 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5852, allocations: 3.938 kB / 0.5767 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.5859, allocations: 0.5882 MB / 0.5773 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5859, allocations: 3.938 kB / 0.5773 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.586, allocations: 15.98 kB / 0.5773 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.586, allocations: 0 / 0.5773 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.586, allocations: 0 / 0.5773 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.586, allocations: 0 / 0.5773 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.586, allocations: 7.938 kB / 0.5773 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.5863, allocations: 215 kB / 0.5775 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.5865, allocations: 164.5 kB / 0.5777 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.5865, allocations: 256 / 0.5777 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.5866, allocations: 16 kB / 0.5777 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.5867, allocations: 7.922 kB / 0.5777 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.5867, allocations: 4 kB / 0.5777 GB, free: 1.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006816/0.5874, allocations: 0.6355 MB / 0.5783 GB, free: 1.219 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.884e-06/0.5874, allocations: 0 / 0.5783 GB, free: 1.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.5877, allocations: 63.94 kB / 0.5784 GB, free: 1.156 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 (5): * Single equations (assignments): 5 * 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.0009038/0.5886, allocations: 404.1 kB / 0.5788 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.5888, allocations: 51.97 kB / 0.5788 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5888, allocations: 0 / 0.5788 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.5889, allocations: 31.92 kB / 0.5788 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.5893, allocations: 29.89 kB / 0.5789 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.5906, allocations: 0.9447 MB / 0.5798 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.5911, allocations: 0.8262 MB / 0.5806 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.5911, allocations: 23.69 kB / 0.5806 GB, free: 14.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5911, allocations: 3.938 kB / 0.5806 GB, free: 14.89 MB / 410.7 MB Notification: Performance of Templates: time 0.00755/0.5987, allocations: 4.24 MB / 0.5848 GB, free: 10.64 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches