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.002766/0.002765, allocations: 187.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 92.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5231/0.5231, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007396/0.0007395, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1294, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5743, allocations: 86.46 MB / 0.5632 GB, free: 280 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5745, allocations: 75.95 kB / 0.5632 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.5897, allocations: 3.596 MB / 0.5667 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5897, allocations: 0 / 0.5667 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5898, allocations: 0 / 0.5667 GB, free: 12.64 MB / 394.7 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.0004769/0.5902, allocations: 391.7 kB / 0.5671 GB, free: 12.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5903, allocations: 12.02 kB / 0.5671 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5904, allocations: 7.906 kB / 0.5671 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.5906, allocations: 194.3 kB / 0.5673 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.5906, allocations: 0 / 0.5673 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5907, allocations: 4 kB / 0.5673 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5909, allocations: 53.62 kB / 0.5674 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5909, allocations: 4 kB / 0.5674 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5909, allocations: 0 / 0.5674 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5909, allocations: 0 / 0.5674 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5911, allocations: 29 kB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.5915, allocations: 289.6 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.5918, allocations: 54.48 kB / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.5919, allocations: 0 / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5919, allocations: 34.64 kB / 0.5678 GB, free: 11.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.5919, allocations: 4 kB / 0.5678 GB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008154/0.5927, allocations: 157.3 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5928, allocations: 59.41 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.593, allocations: 146 kB / 0.5681 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.593, allocations: 29.69 kB / 0.5681 GB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.5931, allocations: 154.6 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.5931, allocations: 23.66 kB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.5932, allocations: 0 / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5933, allocations: 310.8 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5934, allocations: 32.11 kB / 0.5686 GB, free: 10.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.5936, allocations: 27.97 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.5937, allocations: 27.98 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5937, allocations: 0 / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003283/0.594, allocations: 93.61 kB / 0.5688 GB, free: 10.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5941, allocations: 5.25 kB / 0.5688 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5941, allocations: 3.984 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5941, allocations: 0 / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.5942, allocations: 15.98 kB / 0.5688 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5943, allocations: 0 / 0.5688 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.5944, allocations: 15.98 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.5944, allocations: 3.953 kB / 0.5688 GB, free: 10.31 MB / 394.7 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 () * Number of clocked 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.0001037/0.5945, allocations: 113.8 kB / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.5945, allocations: 7.906 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.5949, allocations: 110.8 kB / 0.569 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.595, allocations: 4 kB / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.595, allocations: 0 / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.595, allocations: 0 / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.5956, allocations: 362.8 kB / 0.5694 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5956, allocations: 4.062 kB / 0.5694 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5958, allocations: 19.98 kB / 0.5694 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.5958, allocations: 0 / 0.5694 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5958, allocations: 7.938 kB / 0.5694 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5958, allocations: 0 / 0.5694 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5958, allocations: 0 / 0.5694 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.5962, allocations: 199.4 kB / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.5963, allocations: 85.02 kB / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5963, allocations: 4 kB / 0.5697 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.5964, allocations: 7.984 kB / 0.5697 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.5965, allocations: 4 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.5965, allocations: 0.75 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.5966, allocations: 126.3 kB / 0.5698 GB, free: 9.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5967, allocations: 4 kB / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.597, allocations: 16 kB / 0.5699 GB, free: 9.152 MB / 394.7 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 () * Number of clocked 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.00112/0.5981, allocations: 424.3 kB / 0.5703 GB, free: 8.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.5985, allocations: 55.95 kB / 0.5703 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5985, allocations: 4 kB / 0.5703 GB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.5986, allocations: 31.98 kB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.5989, allocations: 11.98 kB / 0.5704 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.5994, allocations: 236.4 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.5997, allocations: 0.6965 MB / 0.5713 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.5998, allocations: 11.44 kB / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5998, allocations: 0 / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of Templates: time 0.004129/0.6039, allocations: 1.437 MB / 0.5727 GB, free: 6.297 MB / 394.7 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