Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00243/0.00243, allocations: 177.8 kB / 8.363 MB, free: 0.7148 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.079/2.079, 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.001079/0.001079, allocations: 89.3 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.3378/0.3378, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.621e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4075, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.5701, allocations: 85.75 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5705, allocations: 67.97 kB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.5876, allocations: 3.909 MB / 0.5535 GB, free: 9.602 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5877, allocations: 0 / 0.5535 GB, free: 9.602 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.5877, allocations: 7.938 kB / 0.5535 GB, free: 9.594 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.0005432/0.5883, allocations: 378.2 kB / 0.5539 GB, free: 9.18 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5883, allocations: 12.03 kB / 0.5539 GB, free: 9.168 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.5884, allocations: 11.91 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.5888, allocations: 205.7 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5888, allocations: 0 / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5888, allocations: 0 / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.111e-05/0.5889, allocations: 16 kB / 0.5541 GB, free: 8.902 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.5891, allocations: 37.69 kB / 0.5542 GB, free: 8.859 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.5891, allocations: 4 kB / 0.5542 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5891, allocations: 0 / 0.5542 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5891, allocations: 0 / 0.5542 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.5897, allocations: 277.3 kB / 0.5544 GB, free: 8.547 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.5899, allocations: 38.56 kB / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.59, allocations: 12.86 kB / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.59, allocations: 0 / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.59, allocations: 38.56 kB / 0.5545 GB, free: 8.438 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.59, allocations: 0 / 0.5545 GB, free: 8.438 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005773/0.5906, allocations: 109.4 kB / 0.5546 GB, free: 8.324 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.5907, allocations: 55.41 kB / 0.5547 GB, free: 8.258 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.591, allocations: 177.3 kB / 0.5548 GB, free: 8.078 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.591, allocations: 29.64 kB / 0.5549 GB, free: 8.043 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.5911, allocations: 166.6 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.5912, allocations: 11.75 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5912, allocations: 8 kB / 0.555 GB, free: 7.859 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5914, allocations: 318.8 kB / 0.5553 GB, free: 7.539 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.5914, allocations: 15.92 kB / 0.5554 GB, free: 7.523 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/0.5915, allocations: 12 kB / 0.5554 GB, free: 7.512 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.5915, allocations: 12.16 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5915, allocations: 3.938 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001602/0.5917, allocations: 57.69 kB / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5918, allocations: 7.984 kB / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5918, allocations: 0 / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5918, allocations: 4 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.5919, allocations: 12 kB / 0.5555 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.592, allocations: 0 / 0.5555 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.5921, allocations: 7.984 kB / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.5921, allocations: 4 kB / 0.5555 GB, free: 7.398 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.134e-05/0.5922, allocations: 104.9 kB / 0.5556 GB, free: 7.289 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.5923, allocations: 11.81 kB / 0.5556 GB, free: 7.277 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.5926, allocations: 90.33 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.5926, allocations: 4 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5926, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5926, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.5932, allocations: 335.1 kB / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5932, allocations: 0 / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.5933, allocations: 12 kB / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5934, allocations: 3.938 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.5934, allocations: 4 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5934, allocations: 0 / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5934, allocations: 0 / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.5936, allocations: 167.4 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.5937, allocations: 93.02 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.5938, allocations: 0 / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5939, allocations: 11.98 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.594, allocations: 4 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.594, allocations: 7.938 kB / 0.5563 GB, free: 6.473 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.5942, allocations: 152.1 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5942, allocations: 0 / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.5946, allocations: 19.98 kB / 0.5564 GB, free: 6.305 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.00103/0.5957, allocations: 345.4 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5959, allocations: 24 kB / 0.5568 GB, free: 5.98 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5959, allocations: 0 / 0.5568 GB, free: 5.98 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.619e-05/0.5959, allocations: 20 kB / 0.5568 GB, free: 5.961 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5963, allocations: 19.8 kB / 0.5568 GB, free: 5.941 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.5969, allocations: 201.7 kB / 0.557 GB, free: 5.715 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.5972, allocations: 0.7079 MB / 0.5577 GB, free: 4.98 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.5973, allocations: 15.44 kB / 0.5577 GB, free: 4.965 MB / 395.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5973, allocations: 0 / 0.5577 GB, free: 4.965 MB / 395.1 MB Notification: Performance of Templates: time 0.004916/0.6023, allocations: 1.572 MB / 0.5593 GB, free: 3.398 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches