Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 185.9 kB / 16.4 MB, free: 5.746 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.938/1.938, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001125/0.001125, allocations: 94 kB / 270.9 MB, free: 8.375 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.5152/0.5152, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004711, allocations: 19.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.6033, allocations: 86.84 MB / 0.5635 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004285/0.6038, allocations: 67.97 kB / 0.5636 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05282/0.6567, allocations: 8.033 MB / 0.5714 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6568, allocations: 3.938 kB / 0.5714 GB, free: 7.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.6568, allocations: 4 kB / 0.5715 GB, free: 7.805 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.001389/0.6582, allocations: 0.6373 MB / 0.5721 GB, free: 7.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.6583, allocations: 12.02 kB / 0.5721 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.6585, allocations: 50.33 kB / 0.5721 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.6594, allocations: 327.4 kB / 0.5724 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.6595, allocations: 3.562 kB / 0.5725 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.6595, allocations: 0 / 0.5725 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.6598, allocations: 66.64 kB / 0.5725 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6599, allocations: 0 / 0.5725 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.6599, allocations: 4 kB / 0.5725 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.66, allocations: 4 kB / 0.5725 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.6604, allocations: 43.92 kB / 0.5726 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.6617, allocations: 440.7 kB / 0.573 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.662, allocations: 46.5 kB / 0.573 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.6621, allocations: 4.078 kB / 0.573 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.6622, allocations: 34.56 kB / 0.5731 GB, free: 6.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.807e-06/0.6622, allocations: 0 / 0.5731 GB, free: 6.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.002184/0.6644, allocations: 324.1 kB / 0.5734 GB, free: 5.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.6645, allocations: 55.41 kB / 0.5734 GB, free: 5.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.6674, allocations: 0.7823 MB / 0.5742 GB, free: 4.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.6675, allocations: 25.7 kB / 0.5742 GB, free: 4.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.6678, allocations: 242.5 kB / 0.5744 GB, free: 4.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.6679, allocations: 27.64 kB / 0.5745 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.6679, allocations: 0 / 0.5745 GB, free: 4.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.6681, allocations: 310.8 kB / 0.5748 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.6685, allocations: 39.97 kB / 0.5748 GB, free: 4.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.6688, allocations: 43.97 kB / 0.5748 GB, free: 4.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.6692, allocations: 44.05 kB / 0.5749 GB, free: 4.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6692, allocations: 4 kB / 0.5749 GB, free: 4.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000836/0.6701, allocations: 117.6 kB / 0.575 GB, free: 3.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.6701, allocations: 11.89 kB / 0.575 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6702, allocations: 4 kB / 0.575 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.6702, allocations: 3.984 kB / 0.575 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.6705, allocations: 23.98 kB / 0.575 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.6706, allocations: 0.7812 kB / 0.5751 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.6709, allocations: 19.98 kB / 0.5751 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.6709, allocations: 0 / 0.5751 GB, free: 3.902 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.0004561/0.6714, allocations: 213.8 kB / 0.5753 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.6716, allocations: 43.44 kB / 0.5753 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.6727, allocations: 189.6 kB / 0.5755 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6727, allocations: 0 / 0.5755 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6727, allocations: 4 kB / 0.5755 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6728, allocations: 0 / 0.5755 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.6749, allocations: 0.628 MB / 0.5761 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.675, allocations: 4 kB / 0.5761 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.6753, allocations: 27.88 kB / 0.5761 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6753, allocations: 0 / 0.5761 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.6753, allocations: 11.98 kB / 0.5762 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.6754, allocations: 4 kB / 0.5762 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6754, allocations: 0 / 0.5762 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/0.6764, allocations: 254.9 kB / 0.5764 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.6768, allocations: 164.5 kB / 0.5766 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6769, allocations: 3.953 kB / 0.5766 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.6773, allocations: 16.86 kB / 0.5766 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.6774, allocations: 4 kB / 0.5766 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.6774, allocations: 7.984 kB / 0.5766 GB, free: 2.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001748/0.6792, allocations: 0.6394 MB / 0.5772 GB, free: 1.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.6792, allocations: 0 / 0.5772 GB, free: 1.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007516/0.68, allocations: 63.94 kB / 0.5773 GB, free: 1.535 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.001827/0.6819, allocations: 408.9 kB / 0.5777 GB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.6827, allocations: 91.94 kB / 0.5778 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6828, allocations: 0 / 0.5778 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.6832, allocations: 59.91 kB / 0.5778 GB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.6838, allocations: 17.91 kB / 0.5778 GB, free: 1.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.6871, allocations: 0.9642 MB / 0.5788 GB, free: 72 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/0.688, allocations: 0.834 MB / 0.5796 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.6883, allocations: 15.44 kB / 0.5796 GB, free: 15.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6883, allocations: 4 kB / 0.5796 GB, free: 15.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01555/0.7039, allocations: 4.342 MB / 0.5838 GB, free: 10.84 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches