Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002315/0.002315, allocations: 181.7 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.127/2.127, 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.001589/0.001588, allocations: 82.7 kB / 267.5 MB, free: 14.05 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.2797/0.2797, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.301e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6288, allocations: 86.66 MB / 0.5574 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.6291, allocations: 74.34 kB / 0.5575 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.6456, allocations: 4.137 MB / 0.5615 GB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6456, allocations: 0 / 0.5615 GB, free: 13.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.6456, allocations: 0 / 0.5615 GB, free: 13.68 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.0004468/0.6461, allocations: 366.3 kB / 0.5619 GB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6462, allocations: 8.031 kB / 0.5619 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.6462, allocations: 7.906 kB / 0.5619 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.6465, allocations: 189.5 kB / 0.5621 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.6466, allocations: 4 kB / 0.5621 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.6466, allocations: 0 / 0.5621 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.6467, allocations: 62.28 kB / 0.5621 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6468, allocations: 0 / 0.5621 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6468, allocations: 0 / 0.5621 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6468, allocations: 3.984 kB / 0.5621 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.6469, allocations: 15.81 kB / 0.5622 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.6474, allocations: 285.8 kB / 0.5624 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.6476, allocations: 49.11 kB / 0.5625 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.6477, allocations: 12.86 kB / 0.5625 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.6477, allocations: 0 / 0.5625 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.6477, allocations: 37.94 kB / 0.5625 GB, free: 12.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.6478, allocations: 4 kB / 0.5625 GB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005062/0.6483, allocations: 106 kB / 0.5626 GB, free: 12.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.6484, allocations: 85.06 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.6485, allocations: 127.6 kB / 0.5628 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6486, allocations: 25.7 kB / 0.5629 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.6486, allocations: 157.6 kB / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.6487, allocations: 23.17 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.6487, allocations: 4 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6488, allocations: 310.8 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.6489, allocations: 11.56 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.649, allocations: 32.45 kB / 0.5634 GB, free: 11.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.649, allocations: 18.06 kB / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.649, allocations: 0 / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001481/0.6492, allocations: 59.81 kB / 0.5634 GB, free: 11.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6492, allocations: 4 kB / 0.5634 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6492, allocations: 4.031 kB / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6493, allocations: 0 / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.6494, allocations: 19.98 kB / 0.5635 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.6494, allocations: 0 / 0.5635 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.6495, allocations: 19.88 kB / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.6495, allocations: 0 / 0.5635 GB, free: 11.55 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 8.066e-05/0.6496, allocations: 108.3 kB / 0.5636 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.6497, allocations: 7.906 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.6499, allocations: 83 kB / 0.5637 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6499, allocations: 4 kB / 0.5637 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.65, allocations: 0 / 0.5637 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.65, allocations: 0 / 0.5637 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.6505, allocations: 340.4 kB / 0.564 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6505, allocations: 0 / 0.564 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.6506, allocations: 12 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6506, allocations: 4 kB / 0.564 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6506, allocations: 6.938 kB / 0.564 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.6507, allocations: 0 / 0.564 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.6507, allocations: 7.938 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.6509, allocations: 156.6 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.6509, allocations: 85.02 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.651, allocations: 0 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6511, allocations: 15.73 kB / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.6512, allocations: 4 kB / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6512, allocations: 8.078 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.6513, allocations: 113.8 kB / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6513, allocations: 0 / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.6517, allocations: 23.98 kB / 0.5644 GB, free: 10.55 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.001156/0.6528, allocations: 407.2 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.653, allocations: 33.75 kB / 0.5648 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.653, allocations: 0 / 0.5648 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.6531, allocations: 19.88 kB / 0.5649 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.6534, allocations: 21.97 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.6538, allocations: 132.3 kB / 0.565 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.6541, allocations: 0.7081 MB / 0.5657 GB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.6542, allocations: 11.44 kB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6542, allocations: 0 / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of Templates: time 0.004779/0.659, allocations: 1.6 MB / 0.5673 GB, free: 7.668 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches