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.002197/0.002196, allocations: 178 kB / 8.363 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.147/2.147, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001118/0.001118, allocations: 88.38 kB / 262.1 MB, free: 13.86 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.3968/0.3968, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.893e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4016, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5625, allocations: 85.99 MB / 0.5499 GB, free: 13.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5628, allocations: 71.95 kB / 0.5499 GB, free: 13.24 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.5804, allocations: 4.004 MB / 0.5539 GB, free: 9.242 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5804, allocations: 0 / 0.5539 GB, free: 9.242 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5804, allocations: 0 / 0.5539 GB, free: 9.242 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.0004873/0.5809, allocations: 370.3 kB / 0.5542 GB, free: 8.836 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.581, allocations: 12.03 kB / 0.5542 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.5811, allocations: 7.906 kB / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.5814, allocations: 188.4 kB / 0.5544 GB, free: 8.594 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5814, allocations: 4 kB / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.5814, allocations: 0 / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.741e-05/0.5815, allocations: 12 kB / 0.5544 GB, free: 8.578 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5817, allocations: 63.34 kB / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5817, allocations: 0 / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5817, allocations: 3.938 kB / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5817, allocations: 4 kB / 0.5545 GB, free: 8.496 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.5822, allocations: 261.4 kB / 0.5547 GB, free: 8.203 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.5825, allocations: 38.5 kB / 0.5548 GB, free: 8.156 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.5825, allocations: 12.86 kB / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.5826, allocations: 7.984 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5826, allocations: 34.56 kB / 0.5548 GB, free: 8.09 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.5826, allocations: 0 / 0.5548 GB, free: 8.09 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005086/0.5831, allocations: 101.5 kB / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.5832, allocations: 81.05 kB / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.5834, allocations: 121 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.5834, allocations: 25.7 kB / 0.5551 GB, free: 7.73 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.5835, allocations: 162.5 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.5836, allocations: 19.73 kB / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.5836, allocations: 0 / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5838, allocations: 319 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.5838, allocations: 12 kB / 0.5556 GB, free: 7.219 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.5839, allocations: 25.7 kB / 0.5557 GB, free: 7.188 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.5839, allocations: 12 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.584, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001493/0.5841, allocations: 61.72 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5842, allocations: 4 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5842, allocations: 0 / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5842, allocations: 0 / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.5843, allocations: 19.92 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5844, allocations: 0 / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.5844, allocations: 7.984 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.5845, 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.035e-05/0.5846, allocations: 112.9 kB / 0.5559 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.5846, allocations: 7.906 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.5849, allocations: 70.08 kB / 0.5559 GB, free: 6.875 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5849, allocations: 4 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5849, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5849, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.5854, allocations: 315.2 kB / 0.5562 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5854, allocations: 4.062 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5855, allocations: 19.98 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5855, allocations: 4 kB / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.5856, allocations: 0 / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5856, allocations: 0 / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5856, allocations: 0 / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.5858, allocations: 167.4 kB / 0.5564 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.5859, allocations: 88.94 kB / 0.5565 GB, free: 6.207 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5859, allocations: 4 kB / 0.5565 GB, free: 6.203 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5861, allocations: 11.98 kB / 0.5565 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.5861, allocations: 0 / 0.5565 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5861, allocations: 4 kB / 0.5565 GB, free: 6.188 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.5862, allocations: 111.8 kB / 0.5566 GB, free: 6.078 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5863, allocations: 3.938 kB / 0.5566 GB, free: 6.074 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.5866, allocations: 20 kB / 0.5567 GB, free: 6.055 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.00119/0.5878, allocations: 372 kB / 0.557 GB, free: 5.73 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.588, allocations: 39.92 kB / 0.5571 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5881, allocations: 4 kB / 0.5571 GB, free: 5.688 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.5881, 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.0003041/0.5884, allocations: 15.8 kB / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.5889, allocations: 121.8 kB / 0.5572 GB, free: 5.504 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.5892, allocations: 0.7001 MB / 0.5579 GB, free: 4.777 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.5893, allocations: 15.38 kB / 0.5579 GB, free: 4.762 MB / 395.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5893, allocations: 0 / 0.5579 GB, free: 4.762 MB / 395.1 MB Notification: Performance of Templates: time 0.004925/0.5943, allocations: 1.613 MB / 0.5595 GB, free: 3.152 MB / 395.1 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