Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 181.5 kB / 17.41 MB, free: 4.406 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.473/1.473, 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.0007839/0.0007836, allocations: 98.97 kB / 271.9 MB, free: 8.23 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.3538/0.3538, allocations: 43.57 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4937, allocations: 87.29 MB / 0.5652 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.494, allocations: 67.97 kB / 0.5652 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01667/0.5107, allocations: 7.83 MB / 0.5729 GB, free: 7.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5107, allocations: 0 / 0.5729 GB, free: 7.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.5107, allocations: 8 kB / 0.5729 GB, free: 7.102 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.0006699/0.5114, allocations: 0.625 MB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5114, allocations: 8.031 kB / 0.5735 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.5115, allocations: 44.38 kB / 0.5736 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.5119, allocations: 360.1 kB / 0.5739 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.512, allocations: 384 / 0.5739 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.512, allocations: 4.375 kB / 0.5739 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5121, allocations: 62.22 kB / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5122, allocations: 4.172 kB / 0.574 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5122, allocations: 4.5 kB / 0.574 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5122, allocations: 0 / 0.574 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.5123, allocations: 39.92 kB / 0.574 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.5129, allocations: 452.5 kB / 0.5744 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.5131, allocations: 42.56 kB / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.5132, allocations: 24.94 kB / 0.5745 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.5132, allocations: 1.5 kB / 0.5745 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.5132, allocations: 30.56 kB / 0.5745 GB, free: 5.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.5132, allocations: 0 / 0.5745 GB, free: 5.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006242/0.5139, allocations: 255.9 kB / 0.5748 GB, free: 5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.5139, allocations: 51.62 kB / 0.5748 GB, free: 4.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.5151, allocations: 0.8534 MB / 0.5757 GB, free: 4.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5151, allocations: 25.7 kB / 0.5757 GB, free: 4.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5153, allocations: 224.1 kB / 0.5759 GB, free: 3.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.5153, allocations: 19.73 kB / 0.5759 GB, free: 3.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.5153, allocations: 4 kB / 0.5759 GB, free: 3.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5155, allocations: 358.7 kB / 0.5763 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.5155, allocations: 23.98 kB / 0.5763 GB, free: 3.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.5156, allocations: 23.98 kB / 0.5763 GB, free: 3.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.5158, allocations: 69.88 kB / 0.5764 GB, free: 3.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5158, allocations: 0 / 0.5764 GB, free: 3.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002252/0.516, allocations: 129.1 kB / 0.5765 GB, free: 3.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.516, allocations: 6.625 kB / 0.5765 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.516, allocations: 0 / 0.5765 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5161, allocations: 4 kB / 0.5765 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.5161, allocations: 15.92 kB / 0.5765 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5161, allocations: 4 kB / 0.5765 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.5162, allocations: 8.562 kB / 0.5765 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.5162, allocations: 3.984 kB / 0.5765 GB, free: 3.148 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.0001877/0.5164, allocations: 225.7 kB / 0.5768 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.5165, allocations: 39.44 kB / 0.5768 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.5168, allocations: 155.2 kB / 0.5769 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5168, allocations: 0 / 0.5769 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5168, allocations: 4 kB / 0.5769 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5168, allocations: 0 / 0.5769 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007553/0.5176, allocations: 0.5999 MB / 0.5775 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5176, allocations: 0 / 0.5775 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/0.5177, allocations: 20.8 kB / 0.5776 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5177, allocations: 4 kB / 0.5776 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.5177, allocations: 4 kB / 0.5776 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5177, allocations: 0 / 0.5776 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5177, allocations: 3.938 kB / 0.5776 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.518, allocations: 231.3 kB / 0.5778 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.5182, allocations: 164.5 kB / 0.5779 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.5183, allocations: 4.062 kB / 0.5779 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.5184, allocations: 8 kB / 0.578 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.5184, allocations: 11.92 kB / 0.578 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.5184, allocations: 0 / 0.578 GB, free: 1.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006972/0.5191, allocations: 0.6394 MB / 0.5786 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5191, allocations: 0 / 0.5786 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.5195, allocations: 67.92 kB / 0.5787 GB, free: 0.8828 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.0008691/0.5203, allocations: 399.8 kB / 0.579 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.5205, allocations: 59.89 kB / 0.5791 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5206, allocations: 4 kB / 0.5791 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.5206, allocations: 36.11 kB / 0.5791 GB, free: 496 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.521, allocations: 26.23 kB / 0.5792 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5222, allocations: 0.9601 MB / 0.5801 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.5227, allocations: 0.8262 MB / 0.5809 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.5228, allocations: 19.44 kB / 0.5809 GB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5228, allocations: 0 / 0.5809 GB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.008617/0.5314, allocations: 4.299 MB / 0.5851 GB, free: 10.29 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches