Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 178 kB / 8.362 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.978/1.978, 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.001102/0.001102, allocations: 96.52 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.2957/0.2957, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.128e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3943, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.568, allocations: 85.86 MB / 0.5497 GB, free: 13.45 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5684, allocations: 75.95 kB / 0.5498 GB, free: 13.38 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.5871, allocations: 4.234 MB / 0.5539 GB, free: 9.148 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5871, allocations: 0 / 0.5539 GB, free: 9.148 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.5871, allocations: 0 / 0.5539 GB, free: 9.148 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005215/0.5877, allocations: 398.2 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5877, allocations: 12.03 kB / 0.5543 GB, free: 8.703 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.5878, allocations: 11.81 kB / 0.5543 GB, free: 8.691 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5882, allocations: 206.8 kB / 0.5545 GB, free: 8.449 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5883, allocations: 4 kB / 0.5545 GB, free: 8.445 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.5883, allocations: 0 / 0.5545 GB, free: 8.445 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001285/0.5885, allocations: 39.86 kB / 0.5546 GB, free: 8.406 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.5886, allocations: 63.41 kB / 0.5546 GB, free: 8.332 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.5886, allocations: 4 kB / 0.5547 GB, free: 8.328 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5887, allocations: 3.984 kB / 0.5547 GB, free: 8.324 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5887, allocations: 0 / 0.5547 GB, free: 8.324 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.5894, allocations: 385.5 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.5897, allocations: 73.23 kB / 0.5551 GB, free: 7.816 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.5898, allocations: 21.72 kB / 0.5551 GB, free: 7.789 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.5899, allocations: 8.016 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.5899, allocations: 42.72 kB / 0.5552 GB, free: 7.73 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.5899, allocations: 3.938 kB / 0.5552 GB, free: 7.727 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008436/0.5908, allocations: 180.8 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.5909, allocations: 81.06 kB / 0.5554 GB, free: 7.445 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.5912, allocations: 197.5 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.5912, allocations: 25.7 kB / 0.5556 GB, free: 7.211 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.5913, allocations: 170.5 kB / 0.5558 GB, free: 7.043 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.5914, allocations: 35.55 kB / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.5914, allocations: 0 / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5916, allocations: 318.8 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.5916, allocations: 23.92 kB / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.5917, allocations: 37.7 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.5918, allocations: 27.98 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5918, allocations: 0 / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002698/0.5921, allocations: 81.69 kB / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5922, allocations: 7.984 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5922, allocations: 4 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.5922, allocations: 4 kB / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.5924, allocations: 23.92 kB / 0.5563 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5924, allocations: 0 / 0.5563 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5926, allocations: 15.86 kB / 0.5563 GB, free: 6.453 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5926, allocations: 0 / 0.5563 GB, free: 6.453 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.171e-05/0.5927, allocations: 105 kB / 0.5564 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.5928, allocations: 15.91 kB / 0.5565 GB, free: 6.328 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.5931, allocations: 131.4 kB / 0.5566 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5932, allocations: 0 / 0.5566 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5932, allocations: 0 / 0.5566 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5932, allocations: 3.938 kB / 0.5566 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.5941, allocations: 491 kB / 0.5571 GB, free: 5.668 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5942, allocations: 4 kB / 0.5571 GB, free: 5.664 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5944, allocations: 23.92 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.5944, allocations: 4 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5944, allocations: 0 / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.5944, allocations: 3.984 kB / 0.5571 GB, free: 5.633 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.5944, allocations: 7.953 kB / 0.5571 GB, free: 5.625 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.5948, allocations: 303 kB / 0.5574 GB, free: 5.297 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.5949, allocations: 93 kB / 0.5575 GB, free: 5.188 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.595, allocations: 7.953 kB / 0.5575 GB, free: 5.18 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.5952, allocations: 4 kB / 0.5575 GB, free: 5.176 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5952, allocations: 12.31 kB / 0.5575 GB, free: 5.164 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.5953, allocations: 8 kB / 0.5575 GB, free: 5.156 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.5955, allocations: 164.2 kB / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5955, allocations: 0 / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000436/0.596, allocations: 24 kB / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001026/0.597, allocations: 345.4 kB / 0.558 GB, free: 4.672 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.5973, allocations: 67.86 kB / 0.5581 GB, free: 4.605 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5973, allocations: 0 / 0.5581 GB, free: 4.605 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.915e-05/0.5974, allocations: 32 kB / 0.5581 GB, free: 4.574 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.5978, allocations: 19.08 kB / 0.5581 GB, free: 4.562 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.5985, allocations: 248.1 kB / 0.5584 GB, free: 4.285 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.5989, allocations: 0.7275 MB / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.5991, allocations: 15.44 kB / 0.5591 GB, free: 3.516 MB / 395.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5991, allocations: 0 / 0.5591 GB, free: 3.516 MB / 395.1 MB Notification: Performance of Templates: time 0.005763/0.6048, allocations: 1.869 MB / 0.5609 GB, free: 1.648 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches