Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001529, allocations: 181.4 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.086/2.086, 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.001093/0.001093, allocations: 82.7 kB / 267.5 MB, free: 14.06 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.2804/0.2804, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.439e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5164/0.6424, allocations: 86.25 MB / 0.557 GB, free: 1.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.6426, allocations: 72.42 kB / 0.5571 GB, free: 1.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.657, allocations: 3.561 MB / 0.5606 GB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.657, allocations: 0 / 0.5606 GB, free: 14.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.6571, allocations: 4 kB / 0.5606 GB, free: 14.3 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.0004483/0.6575, allocations: 381.2 kB / 0.5609 GB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6576, allocations: 12.02 kB / 0.5609 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.6576, allocations: 4 kB / 0.561 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.6579, allocations: 189.9 kB / 0.5611 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.6579, allocations: 0 / 0.5611 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.658, allocations: 7.906 kB / 0.5611 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.6581, allocations: 44.5 kB / 0.5612 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6581, allocations: 0 / 0.5612 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.6581, allocations: 3.938 kB / 0.5612 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6582, allocations: 4 kB / 0.5612 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.6582, allocations: 15.61 kB / 0.5612 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.6587, allocations: 270.3 kB / 0.5615 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.6589, allocations: 42.17 kB / 0.5615 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.659, allocations: 16.11 kB / 0.5615 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.659, allocations: 4 kB / 0.5615 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.659, allocations: 34.56 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.6591, allocations: 0 / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005362/0.6596, allocations: 116.1 kB / 0.5617 GB, free: 13.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.6597, allocations: 59.36 kB / 0.5617 GB, free: 13.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.6599, allocations: 134.7 kB / 0.5618 GB, free: 12.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6599, allocations: 25.7 kB / 0.5619 GB, free: 12.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.66, allocations: 162.1 kB / 0.562 GB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.66, allocations: 23.3 kB / 0.5621 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6601, allocations: 0 / 0.5621 GB, free: 12.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6602, allocations: 314.5 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.6603, allocations: 4 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.6603, allocations: 11.38 kB / 0.5624 GB, free: 12.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.6604, allocations: 7.688 kB / 0.5624 GB, free: 12.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6604, allocations: 0 / 0.5624 GB, free: 12.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.6605, allocations: 64.66 kB / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6606, allocations: 8 kB / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6606, allocations: 256 / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6606, allocations: 7.938 kB / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.6607, allocations: 15.98 kB / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6607, allocations: 4 kB / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.6608, allocations: 7.953 kB / 0.5625 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.6609, allocations: 3.938 kB / 0.5625 GB, free: 12.24 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.238e-05/0.6609, allocations: 113 kB / 0.5626 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.661, allocations: 7.906 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.6612, allocations: 68.22 kB / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6612, allocations: 0 / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6612, allocations: 0 / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6612, allocations: 3.938 kB / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.6617, allocations: 327.5 kB / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6617, allocations: 0 / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.6619, allocations: 19.98 kB / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.6619, allocations: 0 / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6619, allocations: 4 kB / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6619, allocations: 0 / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6619, allocations: 3.953 kB / 0.563 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.6621, allocations: 158.3 kB / 0.5632 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.6622, allocations: 92.25 kB / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.6622, allocations: 4 kB / 0.5632 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6624, allocations: 8 kB / 0.5633 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.6624, allocations: 3.984 kB / 0.5633 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6624, allocations: 8.141 kB / 0.5633 GB, free: 11.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.6626, allocations: 120.8 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6626, allocations: 3.938 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.6629, allocations: 16 kB / 0.5634 GB, free: 11.26 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.001101/0.664, allocations: 371 kB / 0.5638 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.6642, allocations: 34.31 kB / 0.5638 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6642, allocations: 0 / 0.5638 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.6643, allocations: 15.75 kB / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.6646, allocations: 14.11 kB / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.665, allocations: 140.5 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.6653, allocations: 0.7001 MB / 0.5646 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.6654, allocations: 23.36 kB / 0.5647 GB, free: 10 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6654, allocations: 0 / 0.5647 GB, free: 10 MB / 378.7 MB Notification: Performance of Templates: time 0.004409/0.6698, allocations: 1.398 MB / 0.566 GB, free: 8.613 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches