Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001824/0.001824, 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 2.389/2.389, 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.001107/0.001107, allocations: 83.91 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.2893/0.2893, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.625e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4161, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.575, allocations: 85.63 MB / 0.5495 GB, free: 13.67 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5753, allocations: 75.23 kB / 0.5496 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.5918, allocations: 3.893 MB / 0.5534 GB, free: 9.715 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5919, allocations: 4 kB / 0.5534 GB, free: 9.711 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.5919, allocations: 7.938 kB / 0.5534 GB, free: 9.703 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.000517/0.5924, allocations: 374.2 kB / 0.5538 GB, free: 9.293 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5925, allocations: 8.031 kB / 0.5538 GB, free: 9.285 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.5926, allocations: 7.906 kB / 0.5538 GB, free: 9.277 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.5929, allocations: 209.7 kB / 0.554 GB, free: 9.035 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5929, allocations: 4 kB / 0.554 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.593, allocations: 0 / 0.554 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.524e-05/0.5931, allocations: 15.98 kB / 0.554 GB, free: 9.016 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.5932, allocations: 37.7 kB / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5932, allocations: 0 / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5933, allocations: 0 / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5933, allocations: 0 / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.5937, allocations: 273.3 kB / 0.5543 GB, free: 8.668 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.594, allocations: 34.56 kB / 0.5543 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.594, allocations: 16.84 kB / 0.5543 GB, free: 8.605 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5941, allocations: 4 kB / 0.5543 GB, free: 8.602 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5941, allocations: 34.56 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.5941, allocations: 0 / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005083/0.5946, allocations: 97.41 kB / 0.5545 GB, free: 8.457 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.5947, allocations: 55.41 kB / 0.5545 GB, free: 8.391 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.595, allocations: 181.2 kB / 0.5547 GB, free: 8.207 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.595, allocations: 25.7 kB / 0.5547 GB, free: 8.176 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.5951, allocations: 166.6 kB / 0.5549 GB, free: 8.012 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.5951, allocations: 15.73 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.5952, allocations: 4 kB / 0.5549 GB, free: 7.992 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5953, allocations: 318.8 kB / 0.5552 GB, free: 7.672 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.5954, allocations: 4 kB / 0.5552 GB, free: 7.668 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.5954, allocations: 8 kB / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.5955, allocations: 12.16 kB / 0.5552 GB, free: 7.648 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5955, allocations: 7.938 kB / 0.5552 GB, free: 7.641 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.5956, allocations: 53.69 kB / 0.5553 GB, free: 7.582 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5957, allocations: 4 kB / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5957, allocations: 0 / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5957, allocations: 0 / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5958, allocations: 15.98 kB / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5959, allocations: 0 / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.596, allocations: 8 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.596, allocations: 7.984 kB / 0.5553 GB, free: 7.547 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.947e-05/0.5961, allocations: 108.9 kB / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.5961, allocations: 11.81 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.5964, allocations: 74.03 kB / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5964, allocations: 0 / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5964, allocations: 0 / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5964, allocations: 3.984 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.5969, allocations: 315.1 kB / 0.5558 GB, free: 6.984 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5969, allocations: 4.375 kB / 0.5558 GB, free: 6.98 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.5971, allocations: 15.98 kB / 0.5558 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5971, allocations: 3.938 kB / 0.5558 GB, free: 6.961 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5971, allocations: 4 kB / 0.5558 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5971, allocations: 0 / 0.5558 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5971, allocations: 0 / 0.5558 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5974, allocations: 167.4 kB / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.5975, allocations: 93 kB / 0.5561 GB, free: 6.668 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.5975, allocations: 4 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5976, allocations: 4 kB / 0.5561 GB, free: 6.66 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.5977, allocations: 7.922 kB / 0.5561 GB, free: 6.652 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5977, allocations: 8 kB / 0.5561 GB, free: 6.645 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.598, allocations: 148.1 kB / 0.5562 GB, free: 6.5 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5981, allocations: 0 / 0.5562 GB, free: 6.5 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.5986, allocations: 16 kB / 0.5563 GB, free: 6.484 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.00104/0.5997, allocations: 351 kB / 0.5566 GB, free: 6.176 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.5998, allocations: 24 kB / 0.5566 GB, free: 6.152 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5998, allocations: 0 / 0.5566 GB, free: 6.152 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.5999, allocations: 12 kB / 0.5566 GB, free: 6.141 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.6002, allocations: 27.23 kB / 0.5567 GB, free: 6.117 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.6008, allocations: 193.7 kB / 0.5568 GB, free: 5.898 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.6012, allocations: 0.704 MB / 0.5575 GB, free: 5.168 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.6013, allocations: 19.42 kB / 0.5575 GB, free: 5.148 MB / 395.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6013, allocations: 0 / 0.5575 GB, free: 5.148 MB / 395.1 MB Notification: Performance of Templates: time 0.004785/0.6061, allocations: 1.533 MB / 0.559 GB, free: 3.621 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches