Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001496, allocations: 185.7 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.99/1.99, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001102/0.001102, allocations: 89.98 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.499/0.499, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 12 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5702, allocations: 86.39 MB / 0.5631 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5705, allocations: 67.97 kB / 0.5631 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.5865, allocations: 3.848 MB / 0.5669 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5866, allocations: 0 / 0.5669 GB, free: 12.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.5866, allocations: 0 / 0.5669 GB, free: 12.32 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.0005031/0.5871, allocations: 403.9 kB / 0.5673 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5872, allocations: 12.02 kB / 0.5673 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.5872, allocations: 15.75 kB / 0.5673 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.5875, allocations: 206.3 kB / 0.5675 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.5875, allocations: 0 / 0.5675 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.5876, allocations: 4 kB / 0.5675 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5877, allocations: 49.67 kB / 0.5676 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5878, allocations: 4 kB / 0.5676 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5878, allocations: 0 / 0.5676 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5878, allocations: 0 / 0.5676 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.5879, allocations: 25.02 kB / 0.5676 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.5884, allocations: 288 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.5887, allocations: 46.56 kB / 0.5679 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.5887, allocations: 0 / 0.5679 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.5888, allocations: 39.77 kB / 0.568 GB, free: 11.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.5888, allocations: 0 / 0.568 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008134/0.5896, allocations: 161.2 kB / 0.5681 GB, free: 10.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5897, allocations: 51.41 kB / 0.5682 GB, free: 10.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.5899, allocations: 174.4 kB / 0.5683 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.59, allocations: 29.7 kB / 0.5683 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.59, allocations: 158.6 kB / 0.5685 GB, free: 10.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.5901, allocations: 19.73 kB / 0.5685 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.5901, allocations: 0 / 0.5685 GB, free: 10.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5902, allocations: 319 kB / 0.5688 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.5903, allocations: 27.92 kB / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.5905, allocations: 19.98 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5906, allocations: 27.92 kB / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5906, allocations: 0 / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002966/0.5909, allocations: 85.67 kB / 0.569 GB, free: 10.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.591, allocations: 4 kB / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.591, allocations: 2.656 kB / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.591, allocations: 0 / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.5911, allocations: 15.98 kB / 0.569 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5911, allocations: 0 / 0.569 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.5912, allocations: 12 kB / 0.569 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5913, allocations: 3.953 kB / 0.569 GB, free: 9.973 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 (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 0.0001146/0.5914, allocations: 125.8 kB / 0.5691 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.5914, allocations: 12.09 kB / 0.5691 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.5918, allocations: 102 kB / 0.5692 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5918, allocations: 3.984 kB / 0.5692 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5918, allocations: 0.5 kB / 0.5692 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5919, allocations: 4 kB / 0.5693 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.5925, allocations: 370.8 kB / 0.5696 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5925, allocations: 8.062 kB / 0.5696 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.5927, allocations: 12 kB / 0.5696 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5927, allocations: 0 / 0.5696 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5927, allocations: 0 / 0.5696 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5927, allocations: 0 / 0.5696 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5927, allocations: 3.984 kB / 0.5696 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.5931, allocations: 199.3 kB / 0.5698 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.5932, allocations: 93 kB / 0.5699 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.5932, allocations: 0 / 0.5699 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5933, allocations: 4 kB / 0.5699 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.5934, allocations: 7.984 kB / 0.5699 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5934, allocations: 4 kB / 0.5699 GB, free: 8.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.5936, allocations: 148.3 kB / 0.5701 GB, free: 8.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5936, allocations: 0 / 0.5701 GB, free: 8.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.5939, allocations: 31.92 kB / 0.5701 GB, free: 8.762 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 (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.001136/0.5951, allocations: 411.4 kB / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.5954, allocations: 55.97 kB / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5954, allocations: 0 / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.5956, allocations: 27.92 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5959, allocations: 13.22 kB / 0.5706 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.5965, allocations: 268.8 kB / 0.5708 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.5968, allocations: 0.7004 MB / 0.5715 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.5969, allocations: 19.42 kB / 0.5715 GB, free: 7.328 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5969, allocations: 0 / 0.5715 GB, free: 7.328 MB / 394.7 MB Notification: Performance of Templates: time 0.004454/0.6014, allocations: 1.509 MB / 0.573 GB, free: 5.82 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches