Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,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.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002169/0.002174, allocations: 180.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.001099, allocations: 89.72 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2988/0.2988, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.471e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4241, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.5899, allocations: 85.7 MB / 0.5496 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5903, allocations: 71.97 kB / 0.5497 GB, free: 13.53 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.6058, allocations: 3.521 MB / 0.5531 GB, free: 10.01 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6059, allocations: 0 / 0.5531 GB, free: 10.01 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.546e-05/0.6059, allocations: 4 kB / 0.5531 GB, free: 10.01 MB / 395.1 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.0004587/0.6064, allocations: 362.4 kB / 0.5535 GB, free: 9.609 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6065, allocations: 11.97 kB / 0.5535 GB, free: 9.598 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.6065, allocations: 7.906 kB / 0.5535 GB, free: 9.59 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.6068, allocations: 194.8 kB / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.6068, allocations: 4 kB / 0.5537 GB, free: 9.355 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.6069, allocations: 0 / 0.5537 GB, free: 9.355 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.848e-05/0.607, allocations: 12 kB / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.6071, allocations: 41.69 kB / 0.5537 GB, free: 9.297 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6071, allocations: 0 / 0.5537 GB, free: 9.297 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6071, allocations: 0 / 0.5537 GB, free: 9.297 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.6071, allocations: 4 kB / 0.5537 GB, free: 9.293 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.6076, allocations: 265.3 kB / 0.554 GB, free: 8.996 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.6078, allocations: 38.56 kB / 0.554 GB, free: 8.949 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.6079, allocations: 16.84 kB / 0.554 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.6079, allocations: 4 kB / 0.554 GB, free: 8.926 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.608, allocations: 30.56 kB / 0.5541 GB, free: 8.887 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.608, allocations: 0 / 0.5541 GB, free: 8.887 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004869/0.6085, allocations: 101.5 kB / 0.5542 GB, free: 8.781 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6085, allocations: 55.41 kB / 0.5542 GB, free: 8.715 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.6087, allocations: 129.2 kB / 0.5543 GB, free: 8.578 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.6087, allocations: 29.7 kB / 0.5544 GB, free: 8.543 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.6088, allocations: 162.5 kB / 0.5545 GB, free: 8.383 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.6089, allocations: 15.72 kB / 0.5545 GB, free: 8.367 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.6089, allocations: 4 kB / 0.5545 GB, free: 8.363 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.609, allocations: 314.8 kB / 0.5548 GB, free: 8.047 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.6091, allocations: 8 kB / 0.5548 GB, free: 8.039 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.6091, allocations: 15.98 kB / 0.5549 GB, free: 8.023 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.6092, allocations: 12 kB / 0.5549 GB, free: 8.012 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6092, allocations: 0 / 0.5549 GB, free: 8.012 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001497/0.6093, allocations: 65.62 kB / 0.5549 GB, free: 7.941 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6094, allocations: 8 kB / 0.5549 GB, free: 7.934 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6094, allocations: 0 / 0.5549 GB, free: 7.934 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6094, allocations: 0 / 0.5549 GB, free: 7.934 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6095, allocations: 15.98 kB / 0.5549 GB, free: 7.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.6096, allocations: 0 / 0.5549 GB, free: 7.918 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.6096, allocations: 7.984 kB / 0.555 GB, free: 7.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.6097, allocations: 4 kB / 0.555 GB, free: 7.906 MB / 395.1 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 9.058e-05/0.6098, allocations: 113 kB / 0.5551 GB, free: 7.789 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.6098, allocations: 7.906 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.6101, allocations: 82.27 kB / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6101, allocations: 0 / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.6101, allocations: 0 / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6101, allocations: 0 / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.6105, allocations: 307.1 kB / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6106, allocations: 0 / 0.5554 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.6107, allocations: 19.98 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6107, allocations: 0 / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6107, allocations: 0 / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6107, allocations: 0 / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6107, allocations: 7.938 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.611, allocations: 159.4 kB / 0.5556 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.611, allocations: 89 kB / 0.5557 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.6111, allocations: 0 / 0.5557 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6112, allocations: 12 kB / 0.5557 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.6113, allocations: 7.984 kB / 0.5557 GB, free: 7.031 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6113, allocations: 0 / 0.5557 GB, free: 7.031 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.6114, allocations: 107.3 kB / 0.5558 GB, free: 6.926 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6114, allocations: 7.938 kB / 0.5558 GB, free: 6.918 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.6118, allocations: 15.94 kB / 0.5559 GB, free: 6.902 MB / 395.1 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.000986/0.6128, allocations: 349.8 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.6129, allocations: 27.94 kB / 0.5562 GB, free: 6.562 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6129, allocations: 0 / 0.5562 GB, free: 6.562 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.613, allocations: 23.98 kB / 0.5562 GB, free: 6.539 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6133, allocations: 19.25 kB / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.6137, allocations: 133.5 kB / 0.5564 GB, free: 6.363 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.6141, allocations: 0.7041 MB / 0.5571 GB, free: 5.633 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.6142, allocations: 15.44 kB / 0.5571 GB, free: 5.617 MB / 395.1 MB Notification: Performance of SimCode: time 2.835e-06/0.6142, allocations: 0 / 0.5571 GB, free: 5.617 MB / 395.1 MB Notification: Performance of Templates: time 0.0043/0.6185, allocations: 1.401 MB / 0.5585 GB, free: 4.223 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches