Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008859/0.0008859, allocations: 95.19 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4009/0.4009, allocations: 44.83 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 12 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4164, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.5586, allocations: 90.41 MB / 0.6067 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.559, allocations: 79.94 kB / 0.6068 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01894/0.5779, allocations: 6.281 MB / 0.6129 GB, free: 8.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.578, allocations: 0 / 0.6129 GB, free: 8.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.578, allocations: 0 / 0.6129 GB, free: 8.531 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.0006933/0.5787, allocations: 435 kB / 0.6134 GB, free: 8.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5788, allocations: 8.031 kB / 0.6134 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.5789, allocations: 16.78 kB / 0.6134 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.5793, allocations: 224.7 kB / 0.6136 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5793, allocations: 4.375 kB / 0.6136 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.5793, allocations: 4.359 kB / 0.6136 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5795, allocations: 54.23 kB / 0.6137 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5795, allocations: 192 / 0.6137 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5795, allocations: 3.938 kB / 0.6137 GB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5796, allocations: 3.938 kB / 0.6137 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.5796, allocations: 19.92 kB / 0.6137 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.5799, allocations: 189.7 kB / 0.6139 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.58, allocations: 50.61 kB / 0.6139 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.5801, allocations: 20.84 kB / 0.6139 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.5801, allocations: 4 kB / 0.6139 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.5803, allocations: 71.38 kB / 0.614 GB, free: 7.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.5803, allocations: 0 / 0.614 GB, free: 7.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003104/0.5806, allocations: 105.4 kB / 0.6141 GB, free: 7.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5807, allocations: 55.39 kB / 0.6142 GB, free: 7.102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.5809, allocations: 196.1 kB / 0.6143 GB, free: 6.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.5809, allocations: 29.7 kB / 0.6144 GB, free: 6.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.581, allocations: 100.1 kB / 0.6145 GB, free: 6.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.581, allocations: 15.84 kB / 0.6145 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.5811, allocations: 0 / 0.6145 GB, free: 6.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5812, allocations: 326.8 kB / 0.6148 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.5812, allocations: 15.98 kB / 0.6148 GB, free: 6.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.5813, allocations: 25.72 kB / 0.6148 GB, free: 6.375 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.5814, allocations: 49.64 kB / 0.6149 GB, free: 6.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5814, allocations: 0 / 0.6149 GB, free: 6.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.5816, allocations: 93.45 kB / 0.615 GB, free: 6.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5816, allocations: 7.938 kB / 0.615 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5816, allocations: 0 / 0.615 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5817, allocations: 4 kB / 0.615 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.5817, allocations: 8 kB / 0.615 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5818, allocations: 3.938 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.5818, allocations: 7.984 kB / 0.615 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.5818, allocations: 0 / 0.615 GB, free: 6.191 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.5819, allocations: 125.8 kB / 0.6151 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.582, allocations: 19.75 kB / 0.6151 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.5823, allocations: 98.97 kB / 0.6152 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5823, allocations: 4 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5823, allocations: 0 / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5823, allocations: 0 / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.5825, allocations: 189.6 kB / 0.6154 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5825, allocations: 3.984 kB / 0.6154 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.5825, allocations: 8 kB / 0.6154 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5825, allocations: 3.938 kB / 0.6154 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.5826, allocations: 0 / 0.6154 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5826, allocations: 4 kB / 0.6154 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5826, allocations: 0 / 0.6154 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.5828, allocations: 113 kB / 0.6155 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.5828, allocations: 104.8 kB / 0.6156 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.5829, allocations: 3.938 kB / 0.6156 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.5829, allocations: 4 kB / 0.6157 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.583, allocations: 3.984 kB / 0.6157 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.583, allocations: 11.98 kB / 0.6157 GB, free: 5.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.5831, allocations: 143.2 kB / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5831, allocations: 0 / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000224/0.5834, allocations: 23.94 kB / 0.6158 GB, free: 5.246 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.0009828/0.5843, allocations: 417.9 kB / 0.6162 GB, free: 4.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.5845, allocations: 43.91 kB / 0.6163 GB, free: 4.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5845, allocations: 0 / 0.6163 GB, free: 4.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.5846, allocations: 28.06 kB / 0.6163 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.5849, allocations: 27.98 kB / 0.6163 GB, free: 4.879 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.5854, allocations: 221.5 kB / 0.6165 GB, free: 4.633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.5857, allocations: 0.7004 MB / 0.6172 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.5857, allocations: 16.41 kB / 0.6172 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.5858, allocations: 11.44 kB / 0.6172 GB, free: 3.879 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5858, allocations: 4 kB / 0.6172 GB, free: 3.875 MB / 426.7 MB Notification: Performance of Templates: time 0.004777/0.5906, allocations: 1.501 MB / 0.6187 GB, free: 2.387 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches