Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002236/0.002241, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.279/2.279, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001095/0.001095, allocations: 82.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2821/0.2821, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.699e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1699, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5411/0.7111, allocations: 88.71 MB / 0.5594 GB, free: 14.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.7114, allocations: 69.47 kB / 0.5595 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03539/0.7468, allocations: 8.459 MB / 0.5678 GB, free: 7.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.7468, allocations: 0 / 0.5678 GB, free: 7.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.478e-05/0.7469, allocations: 4 kB / 0.5678 GB, free: 7.598 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007075/0.7476, allocations: 0.5258 MB / 0.5683 GB, free: 7.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7477, allocations: 16.03 kB / 0.5683 GB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.7478, allocations: 39.48 kB / 0.5683 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.7486, allocations: 343.8 kB / 0.5686 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7486, allocations: 4 kB / 0.5687 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.7486, allocations: 6.812 kB / 0.5687 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.7489, allocations: 78.86 kB / 0.5687 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7489, allocations: 0 / 0.5687 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.7489, allocations: 3 kB / 0.5687 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.7489, allocations: 4 kB / 0.5687 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.7491, allocations: 60.23 kB / 0.5688 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.7501, allocations: 485.3 kB / 0.5693 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.7503, allocations: 68.45 kB / 0.5693 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.7504, allocations: 38.2 kB / 0.5694 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.7505, allocations: 0 / 0.5694 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7505, allocations: 38.56 kB / 0.5694 GB, free: 5.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.7505, allocations: 0 / 0.5694 GB, free: 5.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003573/0.7509, allocations: 119.6 kB / 0.5695 GB, free: 5.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.7509, allocations: 51.41 kB / 0.5696 GB, free: 5.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.7519, allocations: 498 kB / 0.57 GB, free: 5.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.7519, allocations: 33.27 kB / 0.5701 GB, free: 5.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.7521, allocations: 228.9 kB / 0.5703 GB, free: 5.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.7521, allocations: 23.42 kB / 0.5703 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.7521, allocations: 4 kB / 0.5703 GB, free: 5.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7523, allocations: 314.8 kB / 0.5706 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.7524, allocations: 23.36 kB / 0.5706 GB, free: 4.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.7524, allocations: 23.31 kB / 0.5707 GB, free: 4.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.7525, allocations: 23.3 kB / 0.5707 GB, free: 4.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7525, allocations: 0 / 0.5707 GB, free: 4.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002133/0.7528, allocations: 84.25 kB / 0.5708 GB, free: 4.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7528, allocations: 7.938 kB / 0.5708 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.7528, allocations: 4 kB / 0.5708 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7528, allocations: 4 kB / 0.5708 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.753, allocations: 11.98 kB / 0.5708 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.753, allocations: 4 kB / 0.5708 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.7532, allocations: 7.906 kB / 0.5708 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.7532, allocations: 0 / 0.5708 GB, free: 4.648 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.992e-05/0.7533, allocations: 116.5 kB / 0.5709 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.7534, allocations: 39.48 kB / 0.5709 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.7538, allocations: 138.1 kB / 0.5711 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7538, allocations: 0 / 0.5711 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7538, allocations: 0 / 0.5711 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7538, allocations: 0 / 0.5711 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.7543, allocations: 309 kB / 0.5714 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7543, allocations: 0 / 0.5714 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.7544, allocations: 15.98 kB / 0.5714 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7545, allocations: 3.938 kB / 0.5714 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.7545, allocations: 4.266 kB / 0.5714 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.7545, allocations: 4 kB / 0.5714 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7545, allocations: 4 kB / 0.5714 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.7548, allocations: 212.9 kB / 0.5716 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.7551, allocations: 146.9 kB / 0.5717 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.7551, allocations: 0 / 0.5717 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.7553, allocations: 19.52 kB / 0.5718 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.7554, allocations: 3.984 kB / 0.5718 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.7554, allocations: 4 kB / 0.5718 GB, free: 3.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006965/0.7561, allocations: 395.6 kB / 0.5722 GB, free: 3.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7561, allocations: 0 / 0.5722 GB, free: 3.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.7565, allocations: 59.14 kB / 0.5722 GB, free: 3.305 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001607/0.7582, allocations: 0.5328 MB / 0.5727 GB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.7585, allocations: 50.61 kB / 0.5728 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7585, allocations: 0 / 0.5728 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.7586, allocations: 36.3 kB / 0.5728 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.7594, allocations: 67.27 kB / 0.5729 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.7608, allocations: 0.5149 MB / 0.5734 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.7614, allocations: 0.8047 MB / 0.5742 GB, free: 1.414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.7616, allocations: 27.42 kB / 0.5742 GB, free: 1.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7616, allocations: 4 kB / 0.5742 GB, free: 1.383 MB / 378.7 MB Notification: Performance of Templates: time 0.009986/0.7716, allocations: 4.153 MB / 0.5782 GB, free: 13.25 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches