Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002219/0.002219, allocations: 181.3 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.223/2.223, 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.001057/0.001057, allocations: 98.62 kB / 267.5 MB, free: 14.04 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.2806/0.2806, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.633e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4931/0.6164, allocations: 87.63 MB / 0.5584 GB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.6168, allocations: 74 kB / 0.5584 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02398/0.6408, allocations: 5.545 MB / 0.5639 GB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6408, allocations: 0 / 0.5639 GB, free: 11.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.6409, allocations: 3.938 kB / 0.5639 GB, free: 11.28 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.0005517/0.6414, allocations: 404.6 kB / 0.5643 GB, free: 10.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6415, allocations: 8.031 kB / 0.5643 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.6415, allocations: 15.81 kB / 0.5643 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.642, allocations: 218.3 kB / 0.5645 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.642, allocations: 4 kB / 0.5645 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.642, allocations: 7.234 kB / 0.5645 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.6422, allocations: 52.31 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.6422, allocations: 3.906 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6423, allocations: 4 kB / 0.5646 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.6423, allocations: 0 / 0.5646 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.6424, allocations: 26.55 kB / 0.5646 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.6429, allocations: 296.2 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.6431, allocations: 53.75 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.6432, allocations: 16.05 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.6432, allocations: 11.94 kB / 0.5649 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.6434, allocations: 62.52 kB / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.956e-06/0.6434, allocations: 0 / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006371/0.644, allocations: 166.1 kB / 0.5652 GB, free: 9.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.6441, allocations: 51.41 kB / 0.5652 GB, free: 9.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.6445, allocations: 207.9 kB / 0.5654 GB, free: 9.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.6445, allocations: 33.64 kB / 0.5654 GB, free: 9.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.6446, allocations: 164.6 kB / 0.5656 GB, free: 9.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.6447, allocations: 22.97 kB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.6447, allocations: 3.938 kB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6448, allocations: 318.8 kB / 0.5659 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.6449, allocations: 18.69 kB / 0.5659 GB, free: 9.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.645, allocations: 32.09 kB / 0.566 GB, free: 9.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.6451, allocations: 19.92 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6451, allocations: 4.188 kB / 0.566 GB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002331/0.6453, allocations: 90.62 kB / 0.5661 GB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6454, allocations: 7.938 kB / 0.5661 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6454, allocations: 192 / 0.5661 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.6454, allocations: 4 kB / 0.5661 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.6456, allocations: 23.92 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6456, allocations: 3.953 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.6457, allocations: 7.5 kB / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.6457, allocations: 4 kB / 0.5661 GB, free: 8.926 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 0.000107/0.6459, allocations: 112.3 kB / 0.5662 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.6459, allocations: 15.81 kB / 0.5662 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.6463, allocations: 115.7 kB / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6463, allocations: 0 / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6463, allocations: 0 / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.6464, allocations: 7.953 kB / 0.5664 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.6471, allocations: 410.9 kB / 0.5668 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6471, allocations: 8.016 kB / 0.5668 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.6472, allocations: 8 kB / 0.5668 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6472, allocations: 4 kB / 0.5668 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6472, allocations: 2.812 kB / 0.5668 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6473, allocations: 3.953 kB / 0.5668 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6473, allocations: 4 kB / 0.5668 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.6476, allocations: 220.4 kB / 0.567 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.6477, allocations: 104.5 kB / 0.5671 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.6477, allocations: 3.953 kB / 0.5671 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.6479, allocations: 4 kB / 0.5671 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.648, allocations: 11.23 kB / 0.5671 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.648, allocations: 11.88 kB / 0.5671 GB, free: 7.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002309/0.6482, allocations: 167.2 kB / 0.5673 GB, free: 7.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6482, allocations: 0 / 0.5673 GB, free: 7.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.6486, allocations: 31.19 kB / 0.5673 GB, free: 7.715 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.001476/0.6501, allocations: 425.4 kB / 0.5677 GB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.6504, allocations: 62.16 kB / 0.5678 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6504, allocations: 4.062 kB / 0.5678 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.6505, allocations: 31.38 kB / 0.5678 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.6509, allocations: 31.22 kB / 0.5678 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.6515, allocations: 232 kB / 0.5681 GB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.6519, allocations: 0.716 MB / 0.5688 GB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.652, allocations: 22.56 kB / 0.5688 GB, free: 6.258 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.652, allocations: 0 / 0.5688 GB, free: 6.258 MB / 378.7 MB Notification: Performance of Templates: time 0.005614/0.6576, allocations: 2.028 MB / 0.5708 GB, free: 4.234 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches