Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008634/0.0008635, allocations: 177.9 kB / 17.41 MB, free: 4.383 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.25/1.25, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007769/0.0007769, allocations: 89.09 kB / 271.9 MB, free: 8.246 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.3047/0.3047, allocations: 43.55 MB / 363.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003173, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3864, allocations: 86.78 MB / 0.5647 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.3867, allocations: 71.97 kB / 0.5647 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.4023, allocations: 7.767 MB / 0.5723 GB, free: 7.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4023, allocations: 4 kB / 0.5723 GB, free: 7.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.4023, allocations: 4 kB / 0.5723 GB, free: 7.648 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.0005714/0.4029, allocations: 0.6179 MB / 0.5729 GB, free: 6.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.403, allocations: 11.86 kB / 0.5729 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.403, allocations: 40.47 kB / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.4034, allocations: 344.1 kB / 0.5733 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4034, allocations: 9.438 kB / 0.5733 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.4035, allocations: 384 / 0.5733 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.4036, allocations: 50.25 kB / 0.5734 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4036, allocations: 192 / 0.5734 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4036, allocations: 7.938 kB / 0.5734 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4036, allocations: 0 / 0.5734 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.283e-05/0.4037, allocations: 23.98 kB / 0.5734 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.4044, allocations: 436.6 kB / 0.5738 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.4045, allocations: 30.56 kB / 0.5739 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.4045, allocations: 12.92 kB / 0.5739 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4045, allocations: 0 / 0.5739 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.4046, allocations: 39.14 kB / 0.5739 GB, free: 5.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4046, allocations: 8 kB / 0.5739 GB, free: 5.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002761/0.4049, allocations: 97.16 kB / 0.574 GB, free: 5.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.4049, allocations: 51.41 kB / 0.574 GB, free: 5.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.4061, allocations: 0.8534 MB / 0.5749 GB, free: 4.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4061, allocations: 25.7 kB / 0.5749 GB, free: 4.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4063, allocations: 232.1 kB / 0.5751 GB, free: 4.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.4063, allocations: 3.906 kB / 0.5751 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.4063, allocations: 0 / 0.5751 GB, free: 4.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4065, allocations: 358.8 kB / 0.5755 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.4066, allocations: 11.98 kB / 0.5755 GB, free: 4.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.4066, allocations: 12 kB / 0.5755 GB, free: 4.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.4067, allocations: 28.84 kB / 0.5755 GB, free: 4.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4067, allocations: 4 kB / 0.5755 GB, free: 4.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000153/0.4068, allocations: 89.16 kB / 0.5756 GB, free: 4.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4069, allocations: 8 kB / 0.5756 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4069, allocations: 0 / 0.5756 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4069, allocations: 0 / 0.5756 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.407, allocations: 14.14 kB / 0.5756 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.407, allocations: 1.609 kB / 0.5756 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.4071, allocations: 8 kB / 0.5756 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4071, allocations: 7.938 kB / 0.5757 GB, free: 4.039 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 (2): * Single equations (assignments): 2 * 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.0001704/0.4072, allocations: 209.7 kB / 0.5759 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.4073, allocations: 43.44 kB / 0.5759 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.4075, allocations: 112.6 kB / 0.576 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4075, allocations: 3.938 kB / 0.576 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4075, allocations: 0 / 0.576 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4075, allocations: 3.938 kB / 0.576 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.4078, allocations: 321.4 kB / 0.5763 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4078, allocations: 0 / 0.5763 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.4079, allocations: 8 kB / 0.5763 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4079, allocations: 0 / 0.5763 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4079, allocations: 0 / 0.5763 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4079, allocations: 0 / 0.5763 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4079, allocations: 8.016 kB / 0.5763 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4081, allocations: 186.9 kB / 0.5765 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4083, allocations: 160.6 kB / 0.5767 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.4083, allocations: 7.812 kB / 0.5767 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.4084, allocations: 0 / 0.5767 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.4085, allocations: 12.02 kB / 0.5767 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.4085, allocations: 0 / 0.5767 GB, free: 2.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006275/0.4091, allocations: 0.6394 MB / 0.5773 GB, free: 2.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4091, allocations: 3.938 kB / 0.5773 GB, free: 2.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000263/0.4094, allocations: 51.94 kB / 0.5774 GB, free: 2.195 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 (2): * Single equations (assignments): 2 * 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.0007215/0.4101, allocations: 367.4 kB / 0.5777 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4102, allocations: 19.98 kB / 0.5777 GB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4103, allocations: 0 / 0.5777 GB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.4103, allocations: 12.06 kB / 0.5777 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4106, allocations: 29.95 kB / 0.5778 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.4117, allocations: 0.9248 MB / 0.5787 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.4121, allocations: 0.8184 MB / 0.5795 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.4122, allocations: 19.44 kB / 0.5795 GB, free: 48 kB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4122, allocations: 0 / 0.5795 GB, free: 48 kB / 394.7 MB Notification: Performance of Templates: time 0.006557/0.4188, allocations: 3.998 MB / 0.5834 GB, free: 12.04 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches