Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 180.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.286/1.286, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007456/0.0007459, allocations: 89.02 kB / 271.9 MB, free: 8.238 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.3028/0.3028, allocations: 43.56 MB / 363.8 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 16 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1001, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.3854, allocations: 87.33 MB / 0.5652 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3856, allocations: 75.95 kB / 0.5653 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.4024, allocations: 8.103 MB / 0.5732 GB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4025, allocations: 0 / 0.5732 GB, free: 6.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.4025, allocations: 7.984 kB / 0.5732 GB, free: 6.934 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.0006489/0.4032, allocations: 0.625 MB / 0.5738 GB, free: 6.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4032, allocations: 8.031 kB / 0.5738 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.4033, allocations: 44.38 kB / 0.5739 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.4037, allocations: 352.9 kB / 0.5742 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.4037, allocations: 4.375 kB / 0.5742 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.4037, allocations: 4.375 kB / 0.5742 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4039, allocations: 58.25 kB / 0.5743 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4039, allocations: 4.172 kB / 0.5743 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4039, allocations: 3.938 kB / 0.5743 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4039, allocations: 0 / 0.5743 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.641e-05/0.404, allocations: 31.92 kB / 0.5743 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.4046, allocations: 463.7 kB / 0.5747 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.4048, allocations: 46.5 kB / 0.5748 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.4048, allocations: 28.98 kB / 0.5748 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.4049, allocations: 0 / 0.5748 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.4049, allocations: 34.56 kB / 0.5749 GB, free: 5.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.4049, allocations: 4 kB / 0.5749 GB, free: 5.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005802/0.4055, allocations: 247.9 kB / 0.5751 GB, free: 4.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4055, allocations: 55.39 kB / 0.5751 GB, free: 4.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4067, allocations: 0.8496 MB / 0.576 GB, free: 3.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4067, allocations: 25.7 kB / 0.576 GB, free: 3.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4069, allocations: 220.1 kB / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.4069, allocations: 23.8 kB / 0.5762 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.4069, allocations: 4 kB / 0.5762 GB, free: 3.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4071, allocations: 362.7 kB / 0.5766 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.4071, allocations: 23.98 kB / 0.5766 GB, free: 3.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.4072, allocations: 23.98 kB / 0.5766 GB, free: 3.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4074, allocations: 68.81 kB / 0.5767 GB, free: 3.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.4074, allocations: 0 / 0.5767 GB, free: 3.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002227/0.4076, allocations: 129 kB / 0.5768 GB, free: 3.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4076, allocations: 6.656 kB / 0.5768 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4076, allocations: 256 / 0.5768 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4077, allocations: 8 kB / 0.5768 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.4077, allocations: 19.98 kB / 0.5769 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4077, allocations: 0 / 0.5769 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.4078, allocations: 4 kB / 0.5769 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4078, allocations: 7.984 kB / 0.5769 GB, free: 2.969 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.0001936/0.408, allocations: 217.7 kB / 0.5771 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.4081, allocations: 39.44 kB / 0.5771 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.4084, allocations: 157.8 kB / 0.5773 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4084, allocations: 0 / 0.5773 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4084, allocations: 0 / 0.5773 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4084, allocations: 0 / 0.5773 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.4092, allocations: 0.5999 MB / 0.5778 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4092, allocations: 0 / 0.5778 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.4093, allocations: 20.67 kB / 0.5779 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4093, allocations: 3.938 kB / 0.5779 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.4093, allocations: 4 kB / 0.5779 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4093, allocations: 0 / 0.5779 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4093, allocations: 7.938 kB / 0.5779 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.4096, allocations: 227 kB / 0.5781 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.4097, allocations: 160.5 kB / 0.5782 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4098, allocations: 0 / 0.5782 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.4099, allocations: 11.94 kB / 0.5783 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4099, allocations: 15.92 kB / 0.5783 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4099, allocations: 0 / 0.5783 GB, free: 1.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006731/0.4106, allocations: 0.6394 MB / 0.5789 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4106, allocations: 0 / 0.5789 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.4109, allocations: 63.98 kB / 0.579 GB, free: 0.7148 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.0008353/0.4118, allocations: 403.2 kB / 0.5793 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.412, allocations: 59.95 kB / 0.5794 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.412, allocations: 0 / 0.5794 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.4121, allocations: 35.98 kB / 0.5794 GB, free: 324 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4124, allocations: 22.28 kB / 0.5795 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4136, allocations: 0.9728 MB / 0.5804 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.4141, allocations: 0.8262 MB / 0.5812 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.4141, allocations: 19.69 kB / 0.5812 GB, free: 14.42 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4142, allocations: 4 kB / 0.5812 GB, free: 14.41 MB / 410.7 MB Notification: Performance of Templates: time 0.007461/0.4216, allocations: 4.287 MB / 0.5854 GB, free: 10.12 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches