Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007526/0.0007525, allocations: 100.6 kB / 296.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3685/0.3685, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3833, allocations: 62.96 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.5153, allocations: 90.7 MB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.5156, allocations: 75.95 kB / 0.6051 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02021/0.5358, allocations: 7.172 MB / 0.6121 GB, free: 7.395 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5359, allocations: 4 kB / 0.6121 GB, free: 7.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.5359, allocations: 4 kB / 0.6121 GB, free: 7.387 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006033/0.5365, allocations: 458.8 kB / 0.6126 GB, free: 6.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5365, allocations: 12.86 kB / 0.6126 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.5366, allocations: 12.84 kB / 0.6126 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.5369, allocations: 237.7 kB / 0.6128 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5369, allocations: 4.375 kB / 0.6128 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.537, allocations: 4.375 kB / 0.6128 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.5371, allocations: 78.22 kB / 0.6129 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5372, allocations: 192 / 0.6129 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5372, allocations: 3.938 kB / 0.6129 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.5372, allocations: 3.984 kB / 0.6129 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.5373, allocations: 51.95 kB / 0.613 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.5379, allocations: 332.7 kB / 0.6133 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.5382, allocations: 98.45 kB / 0.6134 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.5383, allocations: 32.84 kB / 0.6134 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.5383, allocations: 0 / 0.6134 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.5385, allocations: 91.39 kB / 0.6135 GB, free: 5.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.644e-06/0.5385, allocations: 0 / 0.6135 GB, free: 5.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009797/0.5395, allocations: 317.6 kB / 0.6138 GB, free: 5.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5396, allocations: 55.39 kB / 0.6139 GB, free: 5.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.5398, allocations: 204.7 kB / 0.614 GB, free: 5.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5398, allocations: 29.7 kB / 0.6141 GB, free: 5.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.5399, allocations: 112.3 kB / 0.6142 GB, free: 5.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.54, allocations: 35.45 kB / 0.6142 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.54, allocations: 8 kB / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5402, allocations: 326.8 kB / 0.6145 GB, free: 4.719 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.5403, allocations: 47.97 kB / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.5404, allocations: 59.09 kB / 0.6146 GB, free: 4.609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.5406, allocations: 101.6 kB / 0.6147 GB, free: 4.504 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5406, allocations: 0 / 0.6147 GB, free: 4.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002743/0.5408, allocations: 157.5 kB / 0.6149 GB, free: 4.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5409, allocations: 8 kB / 0.6149 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5409, allocations: 4.031 kB / 0.6149 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5409, allocations: 0 / 0.6149 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.541, allocations: 27.92 kB / 0.6149 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.541, allocations: 3.984 kB / 0.6149 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.5411, allocations: 8 kB / 0.6149 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5411, allocations: 4 kB / 0.6149 GB, free: 4.289 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 (15): * Single equations (assignments): 15 * 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.0001108/0.5412, allocations: 133.8 kB / 0.6151 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.5412, allocations: 7.906 kB / 0.6151 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.5416, allocations: 209 kB / 0.6153 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5416, allocations: 4 kB / 0.6153 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5417, allocations: 0 / 0.6153 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5417, allocations: 0 / 0.6153 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006798/0.5423, allocations: 0.5156 MB / 0.6158 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5424, allocations: 4.062 kB / 0.6158 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.5424, allocations: 27.94 kB / 0.6158 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5424, allocations: 0 / 0.6158 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5425, allocations: 11.92 kB / 0.6158 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5425, allocations: 0 / 0.6158 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5425, allocations: 4 kB / 0.6158 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.5429, allocations: 284 kB / 0.6161 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.5429, allocations: 96.92 kB / 0.6162 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.543, allocations: 7.938 kB / 0.6162 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.5431, allocations: 11.98 kB / 0.6162 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.5431, allocations: 7.984 kB / 0.6162 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.5431, allocations: 8.281 kB / 0.6162 GB, free: 2.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5433, allocations: 147.2 kB / 0.6164 GB, free: 2.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5433, allocations: 0 / 0.6164 GB, free: 2.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.5436, allocations: 55.86 kB / 0.6164 GB, free: 2.664 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001115/0.5447, allocations: 0.5087 MB / 0.6169 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.545, allocations: 115.9 kB / 0.617 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.545, allocations: 0 / 0.617 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.5451, allocations: 59.91 kB / 0.6171 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.5455, allocations: 38.72 kB / 0.6171 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.5462, allocations: 365.6 kB / 0.6175 GB, free: 1.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.5465, allocations: 0.7126 MB / 0.6182 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.5466, allocations: 23.44 kB / 0.6182 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5466, allocations: 0 / 0.6182 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of Templates: time 0.004203/0.5508, allocations: 2.451 MB / 0.6206 GB, free: 14.54 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches