Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001558, allocations: 181.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.056/2.056, allocations: 205.3 MB / 214.1 MB, free: 14.07 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.001113/0.001113, allocations: 89.73 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.3439/0.3439, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.84e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4068, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5724, allocations: 85.74 MB / 0.5496 GB, free: 13.56 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5727, allocations: 67.97 kB / 0.5497 GB, free: 13.49 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.5915, allocations: 3.908 MB / 0.5535 GB, free: 9.59 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.5916, allocations: 0 / 0.5535 GB, free: 9.59 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.5916, allocations: 4 kB / 0.5535 GB, free: 9.586 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.0008376/0.5925, allocations: 378 kB / 0.5539 GB, free: 9.176 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/0.5926, allocations: 8.031 kB / 0.5539 GB, free: 9.168 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.5927, allocations: 11.89 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.5932, allocations: 205.7 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5933, allocations: 0 / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.5933, allocations: 7.984 kB / 0.5541 GB, free: 8.91 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.5935, allocations: 12 kB / 0.5541 GB, free: 8.898 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.5937, allocations: 45.67 kB / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5938, allocations: 0 / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.5938, allocations: 0 / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.5938, allocations: 4 kB / 0.5542 GB, free: 8.844 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/0.5947, allocations: 273.3 kB / 0.5544 GB, free: 8.539 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.5951, allocations: 42.56 kB / 0.5545 GB, free: 8.488 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.5952, allocations: 12.86 kB / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.5953, allocations: 4 kB / 0.5545 GB, free: 8.469 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.5954, allocations: 30.56 kB / 0.5545 GB, free: 8.43 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 4.147e-06/0.5954, allocations: 4 kB / 0.5545 GB, free: 8.426 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008547/0.5963, allocations: 109.4 kB / 0.5546 GB, free: 8.312 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.5964, allocations: 51.41 kB / 0.5547 GB, free: 8.25 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.5969, allocations: 185.2 kB / 0.5548 GB, free: 8.062 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.597, allocations: 25.7 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.5971, allocations: 162.6 kB / 0.555 GB, free: 7.871 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.5972, allocations: 19.73 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.5972, allocations: 0 / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.5974, allocations: 318.8 kB / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.5975, allocations: 12 kB / 0.5554 GB, free: 7.52 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.5975, allocations: 12 kB / 0.5554 GB, free: 7.508 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.5976, allocations: 16.14 kB / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5976, allocations: 0 / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002161/0.5979, allocations: 61.62 kB / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5979, allocations: 8 kB / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.598, allocations: 0 / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.598, allocations: 0 / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.5982, allocations: 15.98 kB / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5983, allocations: 0 / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5984, allocations: 8 kB / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5985, allocations: 4 kB / 0.5555 GB, free: 7.391 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 0.0001549/0.5987, allocations: 108.9 kB / 0.5556 GB, free: 7.277 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/0.5988, allocations: 11.81 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.5992, allocations: 82 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.5993, allocations: 4 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5993, allocations: 0 / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5993, allocations: 4 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.6002, allocations: 327.1 kB / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6002, allocations: 0 / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.6004, allocations: 16.36 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6004, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6004, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/0.6004, allocations: 7.938 kB / 0.556 GB, free: 6.781 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6005, allocations: 0 / 0.556 GB, free: 6.781 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.6008, allocations: 171.4 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.601, allocations: 97 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.601, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.6012, allocations: 4 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.6013, allocations: 11.92 kB / 0.5563 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6013, allocations: 0 / 0.5563 GB, free: 6.469 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003234/0.6017, allocations: 148.1 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6017, allocations: 4 kB / 0.5564 GB, free: 6.32 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.6021, allocations: 24 kB / 0.5565 GB, free: 6.297 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.001043/0.6031, allocations: 346.2 kB / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.6033, allocations: 28 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6033, allocations: 0 / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.76e-05/0.6034, allocations: 23.98 kB / 0.5568 GB, free: 5.941 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.6037, allocations: 27.23 kB / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.6043, allocations: 193.7 kB / 0.557 GB, free: 5.699 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.6047, allocations: 0.708 MB / 0.5577 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.6048, allocations: 11.44 kB / 0.5577 GB, free: 4.953 MB / 395.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6048, allocations: 3.938 kB / 0.5577 GB, free: 4.949 MB / 395.1 MB Notification: Performance of Templates: time 0.005284/0.6101, allocations: 1.564 MB / 0.5593 GB, free: 3.391 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches