Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 181.9 kB / 17.42 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.392/1.392, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007744/0.0007747, allocations: 86.36 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.3482/0.3482, allocations: 43.55 MB / 363.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.5079, allocations: 87.27 MB / 0.5651 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.5082, allocations: 75.95 kB / 0.5652 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01803/0.5263, allocations: 8.153 MB / 0.5732 GB, free: 6.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5264, allocations: 1.031 kB / 0.5732 GB, free: 6.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.5264, allocations: 4 kB / 0.5732 GB, free: 6.957 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.0006651/0.5271, allocations: 0.6367 MB / 0.5738 GB, free: 6.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5271, allocations: 8.031 kB / 0.5738 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.5272, allocations: 44.38 kB / 0.5739 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5276, allocations: 348.1 kB / 0.5742 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5276, allocations: 4.375 kB / 0.5742 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.5276, allocations: 4.375 kB / 0.5742 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.5278, allocations: 66.22 kB / 0.5743 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5278, allocations: 192 / 0.5743 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5279, allocations: 7.938 kB / 0.5743 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5279, allocations: 6.844 kB / 0.5743 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.528, allocations: 55.89 kB / 0.5743 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.5286, allocations: 456.5 kB / 0.5748 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.5288, allocations: 50.56 kB / 0.5748 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.5288, allocations: 32.92 kB / 0.5748 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.5289, allocations: 7.984 kB / 0.5749 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5289, allocations: 34.56 kB / 0.5749 GB, free: 5.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5289, allocations: 0 / 0.5749 GB, free: 5.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008727/0.5298, allocations: 343.9 kB / 0.5752 GB, free: 4.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5298, allocations: 51.41 kB / 0.5753 GB, free: 4.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.531, allocations: 0.8457 MB / 0.5761 GB, free: 3.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.531, allocations: 25.7 kB / 0.5761 GB, free: 3.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.5312, allocations: 220.1 kB / 0.5763 GB, free: 3.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5312, allocations: 23.64 kB / 0.5763 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5312, allocations: 4 kB / 0.5764 GB, free: 3.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5314, allocations: 358.7 kB / 0.5767 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.5315, allocations: 51.97 kB / 0.5767 GB, free: 3.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.5316, allocations: 47.95 kB / 0.5768 GB, free: 3.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.5318, allocations: 101.5 kB / 0.5769 GB, free: 2.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5319, allocations: 0 / 0.5769 GB, free: 2.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003102/0.5322, allocations: 177.3 kB / 0.5771 GB, free: 2.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5322, allocations: 4 kB / 0.5771 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5322, allocations: 3.984 kB / 0.5771 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5322, allocations: 8 kB / 0.5771 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.5324, allocations: 19.98 kB / 0.5771 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5324, allocations: 0 / 0.5771 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.5325, allocations: 15.98 kB / 0.5771 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5325, allocations: 0 / 0.5771 GB, free: 2.723 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 0.0001816/0.5327, allocations: 221.7 kB / 0.5773 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.5328, allocations: 43.44 kB / 0.5774 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.5331, allocations: 205.3 kB / 0.5776 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5332, allocations: 5.031 kB / 0.5776 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5332, allocations: 0 / 0.5776 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5332, allocations: 0 / 0.5776 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008637/0.534, allocations: 0.6544 MB / 0.5782 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5341, allocations: 3.938 kB / 0.5782 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.5342, allocations: 32.78 kB / 0.5782 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.5342, allocations: 0 / 0.5782 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5342, allocations: 4 kB / 0.5782 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5342, allocations: 4 kB / 0.5782 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5342, allocations: 3.938 kB / 0.5782 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.5345, allocations: 267 kB / 0.5785 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.5347, allocations: 164.5 kB / 0.5787 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.5348, allocations: 8 kB / 0.5787 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5349, allocations: 11.98 kB / 0.5787 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.535, allocations: 11.94 kB / 0.5787 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.535, allocations: 0 / 0.5787 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006705/0.5356, allocations: 0.6432 MB / 0.5793 GB, free: 364 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5357, allocations: 4 kB / 0.5793 GB, free: 360 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.536, allocations: 59.94 kB / 0.5794 GB, free: 300 kB / 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.0009459/0.5369, allocations: 409.7 kB / 0.5798 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.5373, allocations: 107.9 kB / 0.5799 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5373, allocations: 0 / 0.5799 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.5374, allocations: 63.83 kB / 0.5799 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.5378, allocations: 25.91 kB / 0.58 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.5391, allocations: 0.98 MB / 0.5809 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.5395, allocations: 0.8341 MB / 0.5817 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.5396, allocations: 19.69 kB / 0.5817 GB, free: 13.9 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5396, allocations: 0 / 0.5817 GB, free: 13.9 MB / 410.7 MB Notification: Performance of Templates: time 0.007528/0.5471, allocations: 4.435 MB / 0.5861 GB, free: 9.453 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches