Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 200.9 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 226.5 MB / 245.4 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008005/0.0008005, allocations: 105 kB / 297.5 MB, free: 6.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3821/0.3821, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3802, allocations: 62.95 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.5063, allocations: 90.71 MB / 0.607 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5067, allocations: 79.94 kB / 0.6071 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02083/0.5275, allocations: 7.169 MB / 0.6141 GB, free: 7.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5276, allocations: 0 / 0.6141 GB, free: 7.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.5276, allocations: 11.94 kB / 0.6141 GB, free: 7.309 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.0007446/0.5284, allocations: 458.8 kB / 0.6145 GB, free: 6.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5284, allocations: 8.875 kB / 0.6145 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.5285, allocations: 16.83 kB / 0.6146 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.5289, allocations: 229.7 kB / 0.6148 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.5289, allocations: 4.312 kB / 0.6148 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.529, allocations: 8.375 kB / 0.6148 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.5291, allocations: 78.22 kB / 0.6149 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5292, allocations: 192 / 0.6149 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5292, allocations: 3.938 kB / 0.6149 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5292, allocations: 3.984 kB / 0.6149 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.5293, allocations: 55.94 kB / 0.6149 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.5299, allocations: 336.7 kB / 0.6152 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.5302, allocations: 94.47 kB / 0.6153 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.5303, allocations: 32.84 kB / 0.6154 GB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5304, allocations: 0 / 0.6154 GB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.5305, allocations: 91.34 kB / 0.6154 GB, free: 5.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.5306, allocations: 0 / 0.6154 GB, free: 5.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001059/0.5316, allocations: 312.9 kB / 0.6157 GB, free: 5.438 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.5317, allocations: 51.41 kB / 0.6158 GB, free: 5.375 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.5319, allocations: 207.3 kB / 0.616 GB, free: 5.164 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.532, allocations: 29.7 kB / 0.616 GB, free: 5.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.532, allocations: 112.3 kB / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.5321, allocations: 39.59 kB / 0.6162 GB, free: 4.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.5321, allocations: 4 kB / 0.6162 GB, free: 4.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5323, allocations: 326.8 kB / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.5324, allocations: 51.97 kB / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.5325, allocations: 53.7 kB / 0.6166 GB, free: 4.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.5327, allocations: 101.6 kB / 0.6167 GB, free: 4.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5327, allocations: 4 kB / 0.6167 GB, free: 4.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002861/0.533, allocations: 157.5 kB / 0.6168 GB, free: 4.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.533, allocations: 4 kB / 0.6168 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.533, allocations: 8.031 kB / 0.6168 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.533, allocations: 0 / 0.6168 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.5331, allocations: 28.77 kB / 0.6169 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5332, allocations: 0 / 0.6169 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.5332, allocations: 8 kB / 0.6169 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5332, allocations: 4 kB / 0.6169 GB, free: 4.215 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.0001275/0.5334, allocations: 135.3 kB / 0.617 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.5334, allocations: 7.906 kB / 0.617 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.5339, allocations: 210.9 kB / 0.6172 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5339, allocations: 4 kB / 0.6172 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5339, allocations: 0 / 0.6172 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5339, allocations: 3.938 kB / 0.6172 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.5347, allocations: 0.5152 MB / 0.6177 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5347, allocations: 0 / 0.6177 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.5348, allocations: 32 kB / 0.6178 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5348, allocations: 0 / 0.6178 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.5348, allocations: 11.92 kB / 0.6178 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5349, allocations: 0 / 0.6178 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5349, allocations: 4 kB / 0.6178 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.5353, allocations: 274.9 kB / 0.618 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.5354, allocations: 100.9 kB / 0.6181 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.5354, allocations: 11.88 kB / 0.6181 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.5355, allocations: 11.98 kB / 0.6182 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.5355, allocations: 7.984 kB / 0.6182 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.5356, allocations: 8 kB / 0.6182 GB, free: 2.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.5357, allocations: 147.2 kB / 0.6183 GB, free: 2.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5358, allocations: 0 / 0.6183 GB, free: 2.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.5361, allocations: 51.92 kB / 0.6184 GB, free: 2.59 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.001256/0.5374, allocations: 0.5106 MB / 0.6189 GB, free: 2.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.5377, allocations: 119.8 kB / 0.619 GB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5377, allocations: 0 / 0.619 GB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.5378, allocations: 59.91 kB / 0.619 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.5382, allocations: 27.98 kB / 0.6191 GB, free: 2.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.5388, allocations: 331.9 kB / 0.6194 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.5391, allocations: 0.7204 MB / 0.6201 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.5393, allocations: 33.39 kB / 0.6201 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.5393, allocations: 19.44 kB / 0.6201 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5393, allocations: 0 / 0.6201 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of Templates: time 0.005418/0.5447, allocations: 2.177 MB / 0.6223 GB, free: 14.74 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches