Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001541, allocations: 180.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.115/2.115, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.002109/0.002109, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.283/0.283, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.49e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/0.6216, allocations: 87.59 MB / 0.5583 GB, free: 68 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.6219, allocations: 76.92 kB / 0.5584 GB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02464/0.6466, allocations: 5.273 MB / 0.5636 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6467, allocations: 0 / 0.5636 GB, free: 11.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.6467, allocations: 3.938 kB / 0.5636 GB, free: 11.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005733/0.6473, allocations: 385.9 kB / 0.5639 GB, free: 11.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.6474, allocations: 8.031 kB / 0.5639 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.6474, allocations: 15.59 kB / 0.564 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.6478, allocations: 215.8 kB / 0.5642 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6479, allocations: 4 kB / 0.5642 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.6479, allocations: 3.984 kB / 0.5642 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6481, allocations: 56.98 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6481, allocations: 0 / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.6481, allocations: 0 / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.6481, allocations: 0 / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.6482, allocations: 27.3 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.6487, allocations: 291.1 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.6489, allocations: 53.75 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.649, allocations: 20.17 kB / 0.5646 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.649, allocations: 7.938 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.6492, allocations: 66.7 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/0.6492, allocations: 0 / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006313/0.6499, allocations: 162.5 kB / 0.5648 GB, free: 10.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.6499, allocations: 51.41 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.6502, allocations: 176 kB / 0.565 GB, free: 10 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6503, allocations: 25.7 kB / 0.5651 GB, free: 9.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.6504, allocations: 165.4 kB / 0.5652 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.6504, allocations: 23.33 kB / 0.5652 GB, free: 9.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.6504, allocations: 4 kB / 0.5652 GB, free: 9.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6506, allocations: 314.5 kB / 0.5655 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.6506, allocations: 19.06 kB / 0.5656 GB, free: 9.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.6507, allocations: 37.08 kB / 0.5656 GB, free: 9.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.349e-05/0.6508, allocations: 23.23 kB / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6508, allocations: 192 / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.6511, allocations: 91.83 kB / 0.5657 GB, free: 9.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6511, allocations: 15.97 kB / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6511, allocations: 192 / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6512, allocations: 0 / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.6514, allocations: 19.94 kB / 0.5657 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.6514, allocations: 7.953 kB / 0.5658 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.6515, allocations: 7.422 kB / 0.5658 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.6515, allocations: 4 kB / 0.5658 GB, free: 9.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.897e-05/0.6516, allocations: 108.5 kB / 0.5659 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.6517, allocations: 7.906 kB / 0.5659 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.652, allocations: 127.5 kB / 0.566 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.652, allocations: 0 / 0.566 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.652, allocations: 0 / 0.566 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.6521, allocations: 3.953 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.6527, allocations: 410.1 kB / 0.5664 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6527, allocations: 0 / 0.5664 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.6528, allocations: 12 kB / 0.5664 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6528, allocations: 0 / 0.5664 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.6529, allocations: 8.016 kB / 0.5664 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.6529, allocations: 7.953 kB / 0.5664 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6529, allocations: 0 / 0.5664 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.6532, allocations: 214.1 kB / 0.5666 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.6533, allocations: 85.02 kB / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.6534, allocations: 11.44 kB / 0.5667 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.6535, allocations: 8 kB / 0.5667 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.6536, allocations: 7.984 kB / 0.5667 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6536, allocations: 11.88 kB / 0.5667 GB, free: 8.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.6538, allocations: 142.1 kB / 0.5669 GB, free: 8.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6538, allocations: 0 / 0.5669 GB, free: 8.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.6542, allocations: 39.33 kB / 0.5669 GB, free: 8.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001309/0.6555, allocations: 425.5 kB / 0.5673 GB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.6558, allocations: 56.69 kB / 0.5674 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6558, allocations: 0 / 0.5674 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.6559, allocations: 35.3 kB / 0.5674 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.6563, allocations: 31.34 kB / 0.5674 GB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.6569, allocations: 194.8 kB / 0.5676 GB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.6572, allocations: 0.7115 MB / 0.5683 GB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.6573, allocations: 15.44 kB / 0.5683 GB, free: 6.691 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6573, allocations: 0 / 0.5683 GB, free: 6.691 MB / 378.7 MB Notification: Performance of Templates: time 0.005538/0.6629, allocations: 1.927 MB / 0.5702 GB, free: 4.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches