Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 179.4 kB / 8.364 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.01/2.01, 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.001111/0.001111, allocations: 90.8 kB / 262.1 MB, free: 13.88 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.3029/0.3029, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.281e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3941, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.5536, allocations: 86 MB / 0.5499 GB, free: 13.32 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5539, allocations: 71.47 kB / 0.5499 GB, free: 13.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.5713, allocations: 4.001 MB / 0.5539 GB, free: 9.254 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5713, allocations: 0 / 0.5539 GB, free: 9.254 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.5713, allocations: 4 kB / 0.5539 GB, free: 9.25 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.0004587/0.5718, allocations: 366.3 kB / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5719, allocations: 12.03 kB / 0.5542 GB, free: 8.836 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.5719, allocations: 11.89 kB / 0.5542 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.5722, allocations: 190.9 kB / 0.5544 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5723, allocations: 0 / 0.5544 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.5723, allocations: 4 kB / 0.5544 GB, free: 8.594 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.462e-05/0.5724, allocations: 11.98 kB / 0.5544 GB, free: 8.582 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5725, allocations: 55.36 kB / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5725, allocations: 0 / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5726, allocations: 7.984 kB / 0.5545 GB, free: 8.508 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5726, allocations: 0 / 0.5545 GB, free: 8.508 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.5731, allocations: 257.4 kB / 0.5547 GB, free: 8.219 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.5733, allocations: 38.58 kB / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.5734, allocations: 16.88 kB / 0.5548 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.5734, allocations: 4 kB / 0.5548 GB, free: 8.148 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5734, allocations: 30.56 kB / 0.5548 GB, free: 8.109 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.694e-06/0.5734, allocations: 0 / 0.5548 GB, free: 8.109 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005186/0.574, allocations: 109.4 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.574, allocations: 81.11 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.5742, allocations: 120.9 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5742, allocations: 29.7 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.5743, allocations: 162.5 kB / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.5744, allocations: 15.75 kB / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.5744, allocations: 0 / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5745, allocations: 319 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.5746, allocations: 11.98 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.158e-05/0.5746, allocations: 21.72 kB / 0.5557 GB, free: 7.203 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.5747, allocations: 24.17 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5747, allocations: 4.031 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001493/0.5749, allocations: 61.62 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5749, allocations: 4 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.5749, allocations: 0 / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.575, allocations: 4 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.5751, allocations: 11.94 kB / 0.5558 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5751, allocations: 4 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.5752, allocations: 7.984 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5752, allocations: 4 kB / 0.5558 GB, free: 7.074 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 9.15e-05/0.5753, allocations: 108.9 kB / 0.5559 GB, free: 6.961 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.5754, allocations: 3.906 kB / 0.5559 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.5756, allocations: 74.08 kB / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5756, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5756, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5757, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.5762, allocations: 318.9 kB / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5762, allocations: 4 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5763, allocations: 12 kB / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5763, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.5763, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5764, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.5764, allocations: 7.969 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.5766, allocations: 163.7 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.5767, allocations: 93.02 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.5767, allocations: 8 kB / 0.5565 GB, free: 6.207 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5768, allocations: 7.984 kB / 0.5565 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.5769, allocations: 4 kB / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.5769, allocations: 144 / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.577, allocations: 111.2 kB / 0.5566 GB, free: 6.086 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.577, allocations: 0 / 0.5566 GB, free: 6.086 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.5774, allocations: 23.98 kB / 0.5567 GB, free: 6.062 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.00112/0.5786, allocations: 377.4 kB / 0.557 GB, free: 5.723 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.5788, allocations: 32 kB / 0.5571 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5788, allocations: 3.938 kB / 0.5571 GB, free: 5.688 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.5788, allocations: 16 kB / 0.5571 GB, free: 5.672 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.5792, allocations: 23.8 kB / 0.5571 GB, free: 5.648 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.5796, allocations: 121.8 kB / 0.5572 GB, free: 5.496 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5799, allocations: 0.6962 MB / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.58, allocations: 15.44 kB / 0.5579 GB, free: 4.758 MB / 395.1 MB Notification: Performance of SimCode: time 9.02e-07/0.58, allocations: 4 kB / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of Templates: time 0.00501/0.585, allocations: 1.601 MB / 0.5595 GB, free: 3.156 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches