Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009591/0.0009592, allocations: 181.4 kB / 17.41 MB, free: 4.285 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.351/1.351, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0009105/0.0009106, allocations: 96.45 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.335/0.335, allocations: 43.56 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1328, allocations: 58.85 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5242, allocations: 86.88 MB / 0.5648 GB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5245, allocations: 75.97 kB / 0.5648 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.5354, allocations: 4.102 MB / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5354, allocations: 0 / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.5355, allocations: 0 / 0.5689 GB, free: 11.21 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.0005068/0.536, allocations: 403.7 kB / 0.5692 GB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.536, allocations: 8.031 kB / 0.5692 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.5361, allocations: 19.7 kB / 0.5693 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.5363, allocations: 201.3 kB / 0.5695 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.5364, allocations: 384 / 0.5695 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.5364, allocations: 4.375 kB / 0.5695 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.5366, allocations: 61.8 kB / 0.5695 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5366, allocations: 0 / 0.5695 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5366, allocations: 0 / 0.5695 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5366, allocations: 4 kB / 0.5695 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.5368, allocations: 51.95 kB / 0.5696 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.5371, allocations: 297.7 kB / 0.5699 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.5373, allocations: 50.56 kB / 0.5699 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.5374, allocations: 28.94 kB / 0.5699 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.5374, allocations: 0 / 0.5699 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5374, allocations: 34.61 kB / 0.57 GB, free: 9.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.5374, allocations: 0 / 0.57 GB, free: 9.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007656/0.5382, allocations: 245.4 kB / 0.5702 GB, free: 9.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.5383, allocations: 51.41 kB / 0.5702 GB, free: 9.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.5384, allocations: 173.7 kB / 0.5704 GB, free: 9.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5385, allocations: 33.7 kB / 0.5704 GB, free: 9.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.5385, allocations: 92.14 kB / 0.5705 GB, free: 9.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.5386, allocations: 35.64 kB / 0.5706 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.5386, allocations: 0.75 kB / 0.5706 GB, free: 9.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5387, allocations: 322.8 kB / 0.5709 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.5389, allocations: 43.97 kB / 0.5709 GB, free: 8.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.539, allocations: 40.83 kB / 0.571 GB, free: 8.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.5392, allocations: 89.59 kB / 0.571 GB, free: 8.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5392, allocations: 0 / 0.571 GB, free: 8.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002726/0.5395, allocations: 126.2 kB / 0.5712 GB, free: 8.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5395, allocations: 8 kB / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5395, allocations: 3.938 kB / 0.5712 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5396, allocations: 4.031 kB / 0.5712 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5397, allocations: 23.92 kB / 0.5712 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5397, allocations: 12.25 kB / 0.5712 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.5398, allocations: 19.81 kB / 0.5712 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.5398, allocations: 4.75 kB / 0.5712 GB, free: 8.559 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 (7): * Single equations (assignments): 7 * 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 9.384e-05/0.5399, allocations: 117.8 kB / 0.5713 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.5399, allocations: 15.8 kB / 0.5714 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.5403, allocations: 150.3 kB / 0.5715 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5403, allocations: 0 / 0.5715 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5403, allocations: 7.875 kB / 0.5715 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5403, allocations: 0 / 0.5715 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.5408, allocations: 402.5 kB / 0.5719 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5409, allocations: 9.172 kB / 0.5719 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.5409, allocations: 23.98 kB / 0.5719 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.541, allocations: 3.938 kB / 0.5719 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.541, allocations: 4 kB / 0.5719 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.541, allocations: 4 kB / 0.5719 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.541, allocations: 0 / 0.5719 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.5413, allocations: 227.3 kB / 0.5722 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.5414, allocations: 92.94 kB / 0.5722 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.5414, allocations: 4.875 kB / 0.5723 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.5415, allocations: 19.98 kB / 0.5723 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.5416, allocations: 4 kB / 0.5723 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.5416, allocations: 0 / 0.5723 GB, free: 7.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.5417, allocations: 136 kB / 0.5724 GB, free: 7.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5417, allocations: 0 / 0.5724 GB, free: 7.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.5419, allocations: 23.94 kB / 0.5724 GB, free: 7.238 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 (7): * Single equations (assignments): 7 * 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.0008874/0.5428, allocations: 416.6 kB / 0.5728 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.5431, allocations: 91.88 kB / 0.5729 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5431, allocations: 4 kB / 0.5729 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.5433, allocations: 51.95 kB / 0.573 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.5436, allocations: 25.28 kB / 0.573 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.544, allocations: 261 kB / 0.5732 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.5443, allocations: 0.7043 MB / 0.5739 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.5444, allocations: 11.44 kB / 0.5739 GB, free: 5.734 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5444, allocations: 0 / 0.5739 GB, free: 5.734 MB / 394.7 MB Notification: Performance of Templates: time 0.003193/0.5476, allocations: 1.635 MB / 0.5755 GB, free: 4.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches