Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 179.4 kB / 8.364 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 1.993/1.993, 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.001072/0.001072, allocations: 87.69 kB / 262.1 MB, free: 13.86 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.2937/0.2937, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.448e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4052, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.5804, allocations: 85.7 MB / 0.5496 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5807, allocations: 75.95 kB / 0.5497 GB, free: 13.52 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.5971, allocations: 3.591 MB / 0.5532 GB, free: 9.934 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5971, allocations: 0 / 0.5532 GB, free: 9.934 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.5971, allocations: 4.547 kB / 0.5532 GB, free: 9.93 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.0004632/0.5976, allocations: 374.2 kB / 0.5535 GB, free: 9.52 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5977, allocations: 12.03 kB / 0.5535 GB, free: 9.508 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.5977, allocations: 11.91 kB / 0.5536 GB, free: 9.496 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.598, allocations: 194.8 kB / 0.5537 GB, free: 9.266 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5981, allocations: 0 / 0.5537 GB, free: 9.266 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.5981, allocations: 4 kB / 0.5537 GB, free: 9.262 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.544e-05/0.5982, allocations: 12 kB / 0.5538 GB, free: 9.25 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.5983, allocations: 45.62 kB / 0.5538 GB, free: 9.199 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5983, allocations: 0 / 0.5538 GB, free: 9.199 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5984, allocations: 0 / 0.5538 GB, free: 9.199 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5984, allocations: 4 kB / 0.5538 GB, free: 9.195 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.5988, allocations: 265.5 kB / 0.5541 GB, free: 8.898 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.5991, allocations: 34.56 kB / 0.5541 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.5991, allocations: 12.86 kB / 0.5541 GB, free: 8.84 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.5991, allocations: 3.938 kB / 0.5541 GB, free: 8.836 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5992, allocations: 38.64 kB / 0.5541 GB, free: 8.789 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5992, allocations: 4 kB / 0.5541 GB, free: 8.785 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004943/0.5997, allocations: 97.39 kB / 0.5542 GB, free: 8.684 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5998, allocations: 55.36 kB / 0.5543 GB, free: 8.617 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.6, allocations: 152.3 kB / 0.5544 GB, free: 8.465 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.6, allocations: 25.7 kB / 0.5545 GB, free: 8.434 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.6001, allocations: 170.4 kB / 0.5546 GB, free: 8.266 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.6002, allocations: 15.7 kB / 0.5546 GB, free: 8.25 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.6002, allocations: 7.938 kB / 0.5546 GB, free: 8.242 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6003, allocations: 318.8 kB / 0.555 GB, free: 7.922 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.6004, allocations: 4 kB / 0.555 GB, free: 7.918 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.6004, allocations: 12 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.6005, allocations: 19.98 kB / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6005, allocations: 0 / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001395/0.6006, allocations: 53.69 kB / 0.555 GB, free: 7.828 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6007, allocations: 8 kB / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6007, allocations: 0 / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6007, allocations: 0 / 0.555 GB, free: 7.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6008, allocations: 19.98 kB / 0.5551 GB, free: 7.801 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.6009, allocations: 3.953 kB / 0.5551 GB, free: 7.797 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.6009, allocations: 4 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.601, allocations: 4 kB / 0.5551 GB, free: 7.789 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 8.522e-05/0.6011, allocations: 109 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.6011, allocations: 7.906 kB / 0.5552 GB, free: 7.668 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.6013, allocations: 78.08 kB / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6014, allocations: 0 / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6014, allocations: 0 / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.445e-06/0.6014, allocations: 3.953 kB / 0.5553 GB, free: 7.586 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.6019, allocations: 319.1 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6019, allocations: 384 / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.602, allocations: 15.98 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.602, allocations: 144 / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.6021, allocations: 8 kB / 0.5556 GB, free: 7.207 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6021, allocations: 4 kB / 0.5556 GB, free: 7.203 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6021, allocations: 3.953 kB / 0.5556 GB, free: 7.199 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.6023, allocations: 163.4 kB / 0.5558 GB, free: 7.023 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.6024, allocations: 89 kB / 0.5558 GB, free: 6.918 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.6024, allocations: 0 / 0.5558 GB, free: 6.918 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6025, allocations: 11.98 kB / 0.5559 GB, free: 6.906 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.6026, allocations: 7.953 kB / 0.5559 GB, free: 6.898 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.6026, allocations: 4 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.6028, allocations: 127.2 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6028, allocations: 0 / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.6031, allocations: 27.86 kB / 0.556 GB, free: 6.742 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.00102/0.6042, allocations: 323.9 kB / 0.5563 GB, free: 6.461 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.6043, allocations: 31.98 kB / 0.5564 GB, free: 6.43 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6043, allocations: 4 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.6044, allocations: 19.94 kB / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.6047, allocations: 19.22 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.6051, allocations: 154.2 kB / 0.5565 GB, free: 6.211 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.6055, allocations: 0.704 MB / 0.5572 GB, free: 5.48 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.6056, allocations: 19.44 kB / 0.5572 GB, free: 5.461 MB / 395.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6056, allocations: 0 / 0.5572 GB, free: 5.461 MB / 395.1 MB Notification: Performance of Templates: time 0.00454/0.6101, allocations: 1.479 MB / 0.5587 GB, free: 3.988 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches