Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 182 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.151/2.151, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001034/0.001034, allocations: 86.64 kB / 267.5 MB, free: 14.1 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.2755/0.2755, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.031e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.581, allocations: 86.29 MB / 0.5571 GB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5813, allocations: 75.84 kB / 0.5571 GB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5968, allocations: 3.928 MB / 0.561 GB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5968, allocations: 0 / 0.561 GB, free: 13.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.5969, allocations: 0 / 0.561 GB, free: 13.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004704/0.5973, allocations: 389 kB / 0.5613 GB, free: 13.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.5974, allocations: 12.03 kB / 0.5613 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.5975, allocations: 7.906 kB / 0.5614 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.5978, allocations: 200.2 kB / 0.5615 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.5978, allocations: 4 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.5978, allocations: 4 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.598, allocations: 45.09 kB / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.598, allocations: 0 / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.598, allocations: 0 / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.598, allocations: 0 / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.5981, allocations: 15.12 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.5985, allocations: 295.5 kB / 0.5619 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.5988, allocations: 35.7 kB / 0.5619 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.5988, allocations: 15.98 kB / 0.5619 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.5989, allocations: 0 / 0.5619 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.5989, allocations: 38.56 kB / 0.562 GB, free: 12.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5989, allocations: 0 / 0.562 GB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005054/0.5994, allocations: 109.2 kB / 0.5621 GB, free: 12.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.5995, allocations: 58.05 kB / 0.5621 GB, free: 12.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.5998, allocations: 188.9 kB / 0.5623 GB, free: 12.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.5998, allocations: 25.7 kB / 0.5623 GB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.5999, allocations: 169.4 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.6, allocations: 11.75 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.6, allocations: 0 / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6001, allocations: 318.5 kB / 0.5628 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.6002, allocations: 11.69 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.6002, allocations: 8 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.6003, allocations: 11.61 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6003, allocations: 0 / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001429/0.6004, allocations: 56.7 kB / 0.5629 GB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6005, allocations: 7.984 kB / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6005, allocations: 0 / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6005, allocations: 0 / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6006, allocations: 19.88 kB / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6006, allocations: 4 kB / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.6007, allocations: 16.08 kB / 0.563 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.6008, allocations: 256 / 0.563 GB, free: 11.78 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 (5): * Single equations (assignments): 5 * 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.681e-05/0.6008, allocations: 104.5 kB / 0.5631 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.6009, allocations: 19.8 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.6011, allocations: 72.89 kB / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6011, allocations: 0 / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6012, allocations: 8 kB / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6012, allocations: 0 / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.6017, allocations: 347.8 kB / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6017, allocations: 0 / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.6018, allocations: 15.98 kB / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6018, allocations: 0 / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6019, allocations: 0 / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.6019, allocations: 4 kB / 0.5635 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6019, allocations: 3.953 kB / 0.5635 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.6021, allocations: 162.3 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.6022, allocations: 92.7 kB / 0.5637 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.6022, allocations: 0 / 0.5637 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.6024, allocations: 11.98 kB / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.6024, allocations: 0 / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.6024, allocations: 7.953 kB / 0.5638 GB, free: 10.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.6026, allocations: 162 kB / 0.5639 GB, free: 10.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6026, allocations: 0 / 0.5639 GB, free: 10.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.603, allocations: 15.5 kB / 0.5639 GB, free: 10.75 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 (5): * Single equations (assignments): 5 * 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.001094/0.6041, allocations: 370.4 kB / 0.5643 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.6042, allocations: 31.12 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6043, allocations: 0 / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.6043, allocations: 15.31 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.6046, allocations: 21.11 kB / 0.5644 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.6051, allocations: 193.7 kB / 0.5645 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.6055, allocations: 0.7103 MB / 0.5652 GB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.6056, allocations: 11.44 kB / 0.5652 GB, free: 9.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.795e-06/0.6056, allocations: 0 / 0.5652 GB, free: 9.449 MB / 378.7 MB Notification: Performance of Templates: time 0.00461/0.6102, allocations: 1.549 MB / 0.5668 GB, free: 7.906 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches