Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008469/0.0008466, allocations: 99.34 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3786/0.3786, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002575, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3998, allocations: 62.96 MB / 0.5184 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.5311, allocations: 90.43 MB / 0.6067 GB, free: 14.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5314, allocations: 75.95 kB / 0.6068 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.5489, allocations: 6.383 MB / 0.613 GB, free: 8.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.549, allocations: 0 / 0.613 GB, free: 8.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.549, allocations: 4 kB / 0.613 GB, free: 8.398 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005993/0.5496, allocations: 454.7 kB / 0.6135 GB, free: 7.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5496, allocations: 8.031 kB / 0.6135 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.5497, allocations: 12.84 kB / 0.6135 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.55, allocations: 224.6 kB / 0.6137 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5501, allocations: 8.312 kB / 0.6137 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.5501, allocations: 384 / 0.6137 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.5502, allocations: 58.17 kB / 0.6138 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5502, allocations: 192 / 0.6138 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5502, allocations: 3.938 kB / 0.6138 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.5503, allocations: 0 / 0.6138 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.5503, allocations: 15.98 kB / 0.6138 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.5506, allocations: 193.6 kB / 0.614 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.5507, allocations: 54.61 kB / 0.614 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.5508, allocations: 28.78 kB / 0.6141 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.5508, allocations: 0 / 0.6141 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.5509, allocations: 63.39 kB / 0.6141 GB, free: 7.129 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.551, allocations: 0 / 0.6141 GB, free: 7.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002668/0.5512, allocations: 109.4 kB / 0.6142 GB, free: 7.016 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5513, allocations: 51.41 kB / 0.6143 GB, free: 6.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.5515, allocations: 224.2 kB / 0.6145 GB, free: 6.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5515, allocations: 25.7 kB / 0.6145 GB, free: 6.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.5516, allocations: 108.1 kB / 0.6146 GB, free: 6.578 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5516, allocations: 7.906 kB / 0.6146 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5516, allocations: 8 kB / 0.6146 GB, free: 6.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5518, allocations: 322.8 kB / 0.6149 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.5518, allocations: 15.98 kB / 0.615 GB, free: 6.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.5519, allocations: 29.7 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.066e-05/0.552, allocations: 37.97 kB / 0.615 GB, free: 6.145 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.552, allocations: 0 / 0.615 GB, free: 6.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001644/0.5522, allocations: 101.4 kB / 0.6151 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5522, allocations: 14.91 kB / 0.6151 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5522, allocations: 3.938 kB / 0.6151 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5522, allocations: 0 / 0.6151 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.5523, allocations: 11.98 kB / 0.6151 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5523, allocations: 0 / 0.6151 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.5524, allocations: 4 kB / 0.6151 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.5524, allocations: 4 kB / 0.6151 GB, free: 6.004 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 (7): * Single equations (assignments): 7 * 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.0001082/0.5525, allocations: 133.8 kB / 0.6153 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.5525, allocations: 19.75 kB / 0.6153 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.5527, allocations: 90.67 kB / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5528, allocations: 0 / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5528, allocations: 0 / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5528, allocations: 7.969 kB / 0.6154 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.553, allocations: 201.5 kB / 0.6156 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.553, allocations: 0 / 0.6156 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.553, allocations: 4 kB / 0.6156 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.553, allocations: 11.88 kB / 0.6156 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.553, allocations: 11.92 kB / 0.6156 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.553, allocations: 0 / 0.6156 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.553, allocations: 0 / 0.6156 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.5532, allocations: 112.9 kB / 0.6157 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.5533, allocations: 93.02 kB / 0.6158 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.5534, allocations: 11.92 kB / 0.6158 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.5534, allocations: 0 / 0.6158 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.5534, allocations: 8.188 kB / 0.6158 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5535, allocations: 8 kB / 0.6158 GB, free: 5.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.5536, allocations: 165.2 kB / 0.616 GB, free: 5.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5536, allocations: 0 / 0.616 GB, free: 5.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.5538, allocations: 24 kB / 0.616 GB, free: 5.023 MB / 426.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: 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 (6): * Single equations (assignments): 4 * 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.0009564/0.5548, allocations: 417.4 kB / 0.6164 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.555, allocations: 39.98 kB / 0.6164 GB, free: 4.715 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.555, allocations: 4.062 kB / 0.6165 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.308e-05/0.555, allocations: 27.92 kB / 0.6165 GB, free: 4.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.5553, allocations: 23.98 kB / 0.6165 GB, free: 4.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.5558, allocations: 253.4 kB / 0.6167 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5562, allocations: 0.7082 MB / 0.6174 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.5563, allocations: 8.688 kB / 0.6174 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.5563, allocations: 23.42 kB / 0.6175 GB, free: 3.621 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5563, allocations: 0 / 0.6175 GB, free: 3.621 MB / 426.7 MB Notification: Performance of Templates: time 0.004359/0.5607, allocations: 1.56 MB / 0.619 GB, free: 2.07 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches