Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009724/0.0009723, allocations: 194.5 kB / 16.78 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008024/0.0008024, allocations: 104.5 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4068/0.4068, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3842, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.5125, allocations: 90.65 MB / 0.605 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5128, allocations: 71.97 kB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01879/0.5316, allocations: 6.575 MB / 0.6115 GB, free: 8.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.18e-06/0.5317, allocations: 4 kB / 0.6115 GB, free: 8.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.5317, allocations: 7.938 kB / 0.6115 GB, free: 8.059 MB / 426.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.0007588/0.5325, allocations: 454.8 kB / 0.6119 GB, free: 7.562 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5325, allocations: 8.031 kB / 0.6119 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.5326, allocations: 16.75 kB / 0.612 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.533, allocations: 222 kB / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.533, allocations: 8.375 kB / 0.6122 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.5331, allocations: 8.359 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.5332, allocations: 62.17 kB / 0.6123 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5333, allocations: 192 / 0.6123 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.5333, allocations: 3.938 kB / 0.6123 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5333, allocations: 0 / 0.6123 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.5334, allocations: 19.98 kB / 0.6123 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.5338, allocations: 292.9 kB / 0.6126 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.534, allocations: 66.56 kB / 0.6126 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.5341, allocations: 20.84 kB / 0.6126 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.5341, allocations: 0 / 0.6126 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.5343, allocations: 67.39 kB / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.5343, allocations: 0 / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005949/0.5349, allocations: 185.1 kB / 0.6129 GB, free: 6.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.5349, allocations: 51.41 kB / 0.6129 GB, free: 6.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.5351, allocations: 208.7 kB / 0.6131 GB, free: 6.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5352, allocations: 33.69 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.5352, allocations: 96.14 kB / 0.6132 GB, free: 6.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.5353, allocations: 27.64 kB / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.5353, allocations: 7.938 kB / 0.6133 GB, free: 6.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5354, allocations: 326.8 kB / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.5355, allocations: 31.92 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.5356, allocations: 41.64 kB / 0.6137 GB, free: 5.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.5357, allocations: 57.69 kB / 0.6137 GB, free: 5.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5357, allocations: 0 / 0.6137 GB, free: 5.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.5359, allocations: 101.5 kB / 0.6138 GB, free: 5.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5359, allocations: 4 kB / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5359, allocations: 4.031 kB / 0.6138 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5359, allocations: 7.984 kB / 0.6138 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.536, allocations: 12.38 kB / 0.6138 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5361, allocations: 0 / 0.6138 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.5361, allocations: 15.91 kB / 0.6139 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.5361, allocations: 4 kB / 0.6139 GB, free: 5.414 MB / 426.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 () * Number of clocked 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.56e-05/0.5362, allocations: 129.7 kB / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.5363, allocations: 11.91 kB / 0.614 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.5365, allocations: 127.2 kB / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5365, allocations: 3.984 kB / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5366, allocations: 0 / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5366, allocations: 0 / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.537, allocations: 423.1 kB / 0.6145 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.537, allocations: 3.984 kB / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.5371, allocations: 8 kB / 0.6145 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5371, allocations: 4 kB / 0.6145 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5371, allocations: 4.031 kB / 0.6145 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5371, allocations: 0 / 0.6145 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5371, allocations: 7.938 kB / 0.6146 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.5374, allocations: 216.4 kB / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.5374, allocations: 88.92 kB / 0.6148 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.5375, allocations: 4 kB / 0.6148 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.5376, allocations: 15.97 kB / 0.6149 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.5376, allocations: 7.938 kB / 0.6149 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5376, allocations: 4 kB / 0.6149 GB, free: 4.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.5378, allocations: 160.3 kB / 0.615 GB, free: 4.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5378, allocations: 0 / 0.615 GB, free: 4.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.538, allocations: 31.94 kB / 0.6151 GB, free: 4.078 MB / 426.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) * Number of clocked states: 0 () * 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.001064/0.5391, allocations: 478.1 kB / 0.6155 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.5393, allocations: 51.98 kB / 0.6156 GB, free: 3.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5393, allocations: 4 kB / 0.6156 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.5394, allocations: 31.92 kB / 0.6156 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5397, allocations: 40.48 kB / 0.6156 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.5403, allocations: 291.7 kB / 0.6159 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.5406, allocations: 0.716 MB / 0.6166 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.5406, allocations: 19.42 kB / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5406, allocations: 0 / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of Templates: time 0.00368/0.5443, allocations: 2.016 MB / 0.6186 GB, free: 0.5664 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches