Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 177.8 kB / 8.36 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.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001125/0.001125, allocations: 94.61 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.2945/0.2945, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.469e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3923, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.5508, allocations: 85.7 MB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5511, allocations: 67.97 kB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.5667, allocations: 3.56 MB / 0.5531 GB, free: 9.984 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5668, allocations: 0 / 0.5531 GB, free: 9.984 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.5668, allocations: 0 / 0.5531 GB, free: 9.984 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.0004695/0.5673, allocations: 374.1 kB / 0.5535 GB, free: 9.578 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5674, allocations: 12.03 kB / 0.5535 GB, free: 9.566 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.5674, allocations: 4 kB / 0.5535 GB, free: 9.562 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5677, allocations: 190.9 kB / 0.5537 GB, free: 9.336 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.5678, allocations: 4 kB / 0.5537 GB, free: 9.332 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.5678, allocations: 11.89 kB / 0.5537 GB, free: 9.32 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.056e-05/0.5679, allocations: 8 kB / 0.5537 GB, free: 9.312 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.568, allocations: 41.69 kB / 0.5538 GB, free: 9.266 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.568, allocations: 0 / 0.5538 GB, free: 9.266 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.568, allocations: 3.938 kB / 0.5538 GB, free: 9.262 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5681, allocations: 4 kB / 0.5538 GB, free: 9.258 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.5685, allocations: 265.5 kB / 0.554 GB, free: 8.961 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.5688, allocations: 38.56 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.5688, allocations: 12.86 kB / 0.5541 GB, free: 8.898 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.5689, allocations: 0 / 0.5541 GB, free: 8.898 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5689, allocations: 30.56 kB / 0.5541 GB, free: 8.859 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.5689, allocations: 0 / 0.5541 GB, free: 8.859 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005247/0.5694, allocations: 113.3 kB / 0.5542 GB, free: 8.742 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.5695, allocations: 51.41 kB / 0.5543 GB, free: 8.68 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.5697, allocations: 141.2 kB / 0.5544 GB, free: 8.531 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5697, allocations: 25.7 kB / 0.5544 GB, free: 8.5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.5698, allocations: 158.5 kB / 0.5546 GB, free: 8.344 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.5699, allocations: 19.75 kB / 0.5546 GB, free: 8.324 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5699, allocations: 0 / 0.5546 GB, free: 8.324 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.57, allocations: 318.8 kB / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.5701, allocations: 16 kB / 0.5549 GB, free: 7.988 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.5701, allocations: 8 kB / 0.5549 GB, free: 7.98 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.5702, allocations: 20.11 kB / 0.5549 GB, free: 7.961 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5702, allocations: 0 / 0.5549 GB, free: 7.961 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/0.5704, allocations: 65.59 kB / 0.555 GB, free: 7.891 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5704, allocations: 4 kB / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5704, allocations: 0 / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5704, allocations: 4 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5706, allocations: 8 kB / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5706, allocations: 8 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.5707, allocations: 7.984 kB / 0.555 GB, free: 7.859 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.5707, allocations: 0 / 0.555 GB, free: 7.859 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.954e-05/0.5708, allocations: 113 kB / 0.5551 GB, free: 7.742 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.5709, allocations: 7.906 kB / 0.5551 GB, free: 7.734 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.5711, allocations: 78.02 kB / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5711, allocations: 0 / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5711, allocations: 4 kB / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5711, allocations: 4 kB / 0.5552 GB, free: 7.648 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.5717, allocations: 311.1 kB / 0.5555 GB, free: 7.301 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5717, allocations: 0 / 0.5555 GB, free: 7.301 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5718, allocations: 15.94 kB / 0.5555 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.5718, allocations: 0 / 0.5555 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5718, allocations: 0 / 0.5555 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.5719, allocations: 4 kB / 0.5555 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5719, allocations: 3.984 kB / 0.5555 GB, free: 7.277 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.5721, allocations: 163.7 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.5722, allocations: 85.02 kB / 0.5558 GB, free: 7 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5722, allocations: 8 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5723, allocations: 11.98 kB / 0.5558 GB, free: 6.98 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.5724, allocations: 0 / 0.5558 GB, free: 6.98 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5724, allocations: 4 kB / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.5725, allocations: 121.4 kB / 0.5559 GB, free: 6.859 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5726, allocations: 0 / 0.5559 GB, free: 6.859 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.5729, allocations: 23.98 kB / 0.5559 GB, free: 6.836 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.0009952/0.5739, allocations: 341.8 kB / 0.5563 GB, free: 6.531 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.5741, allocations: 28 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5741, allocations: 4 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.5742, allocations: 16 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.5745, allocations: 27.78 kB / 0.5563 GB, free: 6.457 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.5749, allocations: 145.7 kB / 0.5565 GB, free: 6.285 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.5753, allocations: 0.7001 MB / 0.5572 GB, free: 5.559 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.5754, allocations: 15.44 kB / 0.5572 GB, free: 5.543 MB / 395.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5754, allocations: 0 / 0.5572 GB, free: 5.543 MB / 395.1 MB Notification: Performance of Templates: time 0.00469/0.5801, allocations: 1.44 MB / 0.5586 GB, free: 4.109 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches