Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002349/0.002349, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001682/0.001682, allocations: 91.23 kB / 270.9 MB, free: 8.391 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.5122/0.5122, allocations: 43.54 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006195/0.0006197, allocations: 15.94 kB / 431.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5722, allocations: 86.49 MB / 0.5632 GB, free: 92 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5725, allocations: 75.95 kB / 0.5633 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.5898, allocations: 4.06 MB / 0.5672 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5898, allocations: 0 / 0.5672 GB, free: 12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.5898, allocations: 4 kB / 0.5672 GB, free: 12 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.000577/0.5904, allocations: 418.8 kB / 0.5676 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5905, allocations: 12.02 kB / 0.5676 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.5905, allocations: 15.34 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5909, allocations: 213.7 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5909, allocations: 4 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.591, allocations: 3.906 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.5911, allocations: 49.69 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5912, allocations: 7.984 kB / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5912, allocations: 0 / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5912, allocations: 1.031 kB / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5914, allocations: 31.47 kB / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.5919, allocations: 308.8 kB / 0.5682 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.5922, allocations: 42.56 kB / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5923, allocations: 0 / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.5923, allocations: 35.69 kB / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.5923, allocations: 0 / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000879/0.5932, allocations: 181.2 kB / 0.5685 GB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.5933, allocations: 51.41 kB / 0.5685 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.5936, allocations: 217.8 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.5937, allocations: 29.7 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.5938, allocations: 166.5 kB / 0.5689 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5938, allocations: 19.8 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.5938, allocations: 3.938 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.594, allocations: 311.1 kB / 0.5693 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.5941, allocations: 23.98 kB / 0.5693 GB, free: 9.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.5943, allocations: 27.98 kB / 0.5693 GB, free: 9.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.5944, allocations: 35.86 kB / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5944, allocations: 0 / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003568/0.5948, allocations: 93.66 kB / 0.5694 GB, free: 9.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5948, allocations: 4 kB / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5948, allocations: 0 / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5949, allocations: 0 / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.595, allocations: 15.98 kB / 0.5695 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.595, allocations: 3.953 kB / 0.5695 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.5951, allocations: 4 kB / 0.5695 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5951, allocations: 4 kB / 0.5695 GB, free: 9.512 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.0001372/0.5953, allocations: 130.9 kB / 0.5696 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.5953, allocations: 15.81 kB / 0.5696 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.5958, allocations: 118.5 kB / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5958, allocations: 0 / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5958, allocations: 0 / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5958, allocations: 7.953 kB / 0.5697 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.5966, allocations: 391.3 kB / 0.5701 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5966, allocations: 0 / 0.5701 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5967, allocations: 15.98 kB / 0.5701 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5967, allocations: 4.375 kB / 0.5701 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5967, allocations: 4 kB / 0.5701 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5968, allocations: 7.953 kB / 0.5701 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5968, allocations: 0 / 0.5701 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.5972, allocations: 199.3 kB / 0.5703 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.5973, allocations: 97.02 kB / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.5973, allocations: 0 / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5974, allocations: 7.984 kB / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.5975, allocations: 7.953 kB / 0.5704 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.5975, allocations: 3.938 kB / 0.5704 GB, free: 8.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.5978, allocations: 187.2 kB / 0.5706 GB, free: 8.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5978, allocations: 0 / 0.5706 GB, free: 8.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.5982, allocations: 23.94 kB / 0.5706 GB, free: 8.211 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.001203/0.5994, allocations: 422.9 kB / 0.571 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.5998, allocations: 55.97 kB / 0.5711 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5998, allocations: 0 / 0.5711 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.5999, allocations: 35.92 kB / 0.5711 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.6003, allocations: 16.17 kB / 0.5711 GB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.601, allocations: 313.7 kB / 0.5714 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.6014, allocations: 0.7082 MB / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.6014, allocations: 19.44 kB / 0.5721 GB, free: 6.699 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6015, allocations: 0 / 0.5721 GB, free: 6.699 MB / 394.7 MB Notification: Performance of Templates: time 0.004918/0.6064, allocations: 1.681 MB / 0.5738 GB, free: 5.02 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches