Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, 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.892/1.892, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001127/0.001126, allocations: 92.36 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.4994/0.4994, allocations: 43.54 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004571, allocations: 8 kB / 431.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.587, allocations: 87.06 MB / 0.5637 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5873, allocations: 71.97 kB / 0.5638 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03052/0.6179, allocations: 7.934 MB / 0.5716 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6179, allocations: 0 / 0.5716 GB, free: 7.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.618, allocations: 8 kB / 0.5716 GB, free: 7.727 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.001026/0.619, allocations: 0.6254 MB / 0.5722 GB, free: 7.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6191, allocations: 16.02 kB / 0.5722 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6192, allocations: 43.44 kB / 0.5722 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.6199, allocations: 327.1 kB / 0.5726 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.62, allocations: 7.984 kB / 0.5726 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.62, allocations: 4 kB / 0.5726 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.6203, allocations: 59.19 kB / 0.5726 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6203, allocations: 0 / 0.5726 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6203, allocations: 4 kB / 0.5726 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6203, allocations: 4 kB / 0.5726 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.6206, allocations: 47.92 kB / 0.5727 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.6216, allocations: 445.2 kB / 0.5731 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.6218, allocations: 54.5 kB / 0.5731 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.6218, allocations: 0 / 0.5731 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6219, allocations: 34.56 kB / 0.5732 GB, free: 5.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 4.759e-06/0.6219, allocations: 0 / 0.5732 GB, free: 5.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005968/0.6225, allocations: 145.2 kB / 0.5733 GB, free: 5.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6225, allocations: 51.41 kB / 0.5734 GB, free: 5.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.6246, allocations: 0.7863 MB / 0.5741 GB, free: 4.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6246, allocations: 25.7 kB / 0.5742 GB, free: 4.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.6249, allocations: 230.5 kB / 0.5744 GB, free: 4.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.6249, allocations: 19.84 kB / 0.5744 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.6249, allocations: 0 / 0.5744 GB, free: 4.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6251, allocations: 314.8 kB / 0.5747 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6252, allocations: 27.97 kB / 0.5747 GB, free: 4.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.6254, allocations: 15.98 kB / 0.5747 GB, free: 4.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.6255, allocations: 27.98 kB / 0.5748 GB, free: 4.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6255, allocations: 0 / 0.5748 GB, free: 4.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003215/0.6259, allocations: 73.67 kB / 0.5748 GB, free: 4.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.6259, allocations: 7.984 kB / 0.5748 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6259, allocations: 0 / 0.5748 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.626, allocations: 8 kB / 0.5749 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.6261, allocations: 11.95 kB / 0.5749 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.6261, allocations: 0 / 0.5749 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.6263, allocations: 7.984 kB / 0.5749 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.6263, allocations: 4.875 kB / 0.5749 GB, free: 4.137 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.000353/0.6267, allocations: 213.7 kB / 0.5751 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6268, allocations: 39.44 kB / 0.5751 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.6273, allocations: 137 kB / 0.5753 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6273, allocations: 4 kB / 0.5753 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6273, allocations: 3.953 kB / 0.5753 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6274, allocations: 384 / 0.5753 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.6279, allocations: 330.1 kB / 0.5756 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6279, allocations: 4 kB / 0.5756 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.628, allocations: 12 kB / 0.5756 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.628, allocations: 0 / 0.5756 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.628, allocations: 4 kB / 0.5756 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.6281, allocations: 7.984 kB / 0.5756 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6281, allocations: 0 / 0.5756 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.6286, allocations: 222.8 kB / 0.5758 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.6289, allocations: 160.5 kB / 0.576 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.6289, allocations: 0 / 0.576 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.6291, allocations: 11.92 kB / 0.576 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.6292, allocations: 8 kB / 0.576 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.6292, allocations: 0 / 0.576 GB, free: 2.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001262/0.6305, allocations: 0.6393 MB / 0.5766 GB, free: 2.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6305, allocations: 4 kB / 0.5766 GB, free: 2.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004559/0.631, allocations: 51.95 kB / 0.5767 GB, free: 2.207 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.001091/0.6321, allocations: 357 kB / 0.577 GB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.6324, allocations: 55.91 kB / 0.5771 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6325, allocations: 0 / 0.5771 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.6326, allocations: 23.98 kB / 0.5771 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.633, allocations: 21.95 kB / 0.5771 GB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.6351, allocations: 0.9481 MB / 0.578 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.6357, allocations: 0.8301 MB / 0.5788 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6359, allocations: 19.69 kB / 0.5789 GB, free: 16 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6359, allocations: 0 / 0.5789 GB, free: 16 MB / 410.7 MB Notification: Performance of Templates: time 0.01182/0.6477, allocations: 4.108 MB / 0.5829 GB, free: 11.88 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches