Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002277/0.002276, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.216/2.216, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001079/0.001078, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2998/0.2998, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.34e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.611, allocations: 86.66 MB / 0.5574 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.6113, allocations: 72.34 kB / 0.5575 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.6276, allocations: 4.135 MB / 0.5615 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6276, allocations: 0 / 0.5615 GB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.6277, allocations: 4 kB / 0.5615 GB, free: 13.65 MB / 378.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.0004306/0.6281, allocations: 366 kB / 0.5619 GB, free: 13.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6282, allocations: 8.031 kB / 0.5619 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.6282, allocations: 11.28 kB / 0.5619 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.6285, allocations: 190.3 kB / 0.5621 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.6285, allocations: 0 / 0.5621 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.6286, allocations: 4 kB / 0.5621 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.6287, allocations: 58.66 kB / 0.5621 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6288, allocations: 4 kB / 0.5621 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6288, allocations: 3.984 kB / 0.5621 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6288, allocations: 0 / 0.5621 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.6289, allocations: 15.86 kB / 0.5622 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.6293, allocations: 285.9 kB / 0.5624 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.6296, allocations: 45.12 kB / 0.5625 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.6296, allocations: 16.86 kB / 0.5625 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.6297, allocations: 0 / 0.5625 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6297, allocations: 34.38 kB / 0.5625 GB, free: 12.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.6297, allocations: 0 / 0.5625 GB, free: 12.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005008/0.6302, allocations: 112.2 kB / 0.5626 GB, free: 12.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.6303, allocations: 81.06 kB / 0.5627 GB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.6305, allocations: 127.7 kB / 0.5628 GB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.6305, allocations: 29.7 kB / 0.5629 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.6306, allocations: 158.2 kB / 0.563 GB, free: 12.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.6306, allocations: 26.41 kB / 0.563 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.6306, allocations: 0 / 0.563 GB, free: 11.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6308, allocations: 318.2 kB / 0.5633 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.6308, allocations: 11.06 kB / 0.5633 GB, free: 11.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.6309, allocations: 25.66 kB / 0.5634 GB, free: 11.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.6309, allocations: 19.11 kB / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.631, allocations: 0 / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001472/0.6311, allocations: 56.75 kB / 0.5634 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6311, allocations: 8 kB / 0.5634 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6312, allocations: 256 / 0.5635 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6312, allocations: 0 / 0.5635 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6313, allocations: 23.48 kB / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6313, allocations: 3.938 kB / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.6314, allocations: 11.98 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6314, allocations: 11.92 kB / 0.5635 GB, free: 11.51 MB / 378.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 () * 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 7.453e-05/0.6315, allocations: 101 kB / 0.5636 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.6316, allocations: 7.906 kB / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.6318, allocations: 83.19 kB / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6318, allocations: 0 / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6318, allocations: 0 / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6318, allocations: 0 / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.6323, allocations: 343.5 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6323, allocations: 0 / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.6325, allocations: 15.98 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6325, allocations: 0 / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.6325, allocations: 3.812 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6325, allocations: 0 / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6325, allocations: 3.953 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.6327, allocations: 165 kB / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.6328, allocations: 88.02 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.6328, allocations: 0 / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.633, allocations: 11.98 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.633, allocations: 3.312 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.633, allocations: 8.141 kB / 0.5643 GB, free: 10.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.6331, allocations: 107 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6332, allocations: 4 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000339/0.6335, allocations: 27.5 kB / 0.5644 GB, free: 10.52 MB / 378.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 () * 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.001148/0.6347, allocations: 400.7 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.6348, allocations: 38.11 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6349, allocations: 0 / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.6349, allocations: 23.5 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.6352, allocations: 14.42 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.6356, allocations: 131.8 kB / 0.565 GB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6359, allocations: 0.6965 MB / 0.5657 GB, free: 9.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.636, allocations: 22.88 kB / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.636, allocations: 0 / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of Templates: time 0.004669/0.6407, allocations: 1.606 MB / 0.5673 GB, free: 7.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches