Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 200.8 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008778/0.0008779, allocations: 97.05 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.3824/0.3824, allocations: 44.83 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002992, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3757, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4967, allocations: 90.65 MB / 0.607 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.497, allocations: 83.95 kB / 0.607 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.5158, allocations: 6.808 MB / 0.6137 GB, free: 7.762 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5158, allocations: 0 / 0.6137 GB, free: 7.762 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.5159, allocations: 4 kB / 0.6137 GB, free: 7.758 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.000651/0.5165, allocations: 482.5 kB / 0.6142 GB, free: 7.234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5166, allocations: 12.03 kB / 0.6142 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5166, allocations: 12.84 kB / 0.6142 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.517, allocations: 236.9 kB / 0.6144 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.517, allocations: 8.375 kB / 0.6144 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.517, allocations: 384 / 0.6144 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.5172, allocations: 62.17 kB / 0.6145 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5172, allocations: 192 / 0.6145 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.5172, allocations: 3.938 kB / 0.6145 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5172, allocations: 0 / 0.6145 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.5173, allocations: 23.97 kB / 0.6145 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.5178, allocations: 308.9 kB / 0.6148 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.5179, allocations: 66.53 kB / 0.6149 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.518, allocations: 20.86 kB / 0.6149 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.518, allocations: 0 / 0.6149 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.5182, allocations: 79.28 kB / 0.6149 GB, free: 6.297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.5182, allocations: 0 / 0.6149 GB, free: 6.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005628/0.5188, allocations: 185 kB / 0.6151 GB, free: 6.109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5188, allocations: 51.41 kB / 0.6152 GB, free: 6.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.5191, allocations: 275.9 kB / 0.6154 GB, free: 5.766 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.5192, allocations: 25.7 kB / 0.6155 GB, free: 5.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.5192, allocations: 120 kB / 0.6156 GB, free: 5.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.5193, allocations: 23.8 kB / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5193, allocations: 0 / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5194, allocations: 330.8 kB / 0.6159 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.5195, allocations: 23.92 kB / 0.6159 GB, free: 5.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.5196, allocations: 45.64 kB / 0.616 GB, free: 5.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.5197, allocations: 53.78 kB / 0.616 GB, free: 5.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5197, allocations: 7.984 kB / 0.616 GB, free: 5.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001932/0.5199, allocations: 109.4 kB / 0.6161 GB, free: 5.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5199, allocations: 4 kB / 0.6161 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5199, allocations: 4 kB / 0.6162 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5199, allocations: 0 / 0.6162 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.52, allocations: 15.98 kB / 0.6162 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5201, allocations: 0 / 0.6162 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.5201, allocations: 7.906 kB / 0.6162 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5201, allocations: 8.375 kB / 0.6162 GB, free: 4.965 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 0.0001286/0.5203, allocations: 141.7 kB / 0.6163 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.5203, allocations: 19.81 kB / 0.6163 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.5206, allocations: 119 kB / 0.6165 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5206, allocations: 4 kB / 0.6165 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5206, allocations: 7.938 kB / 0.6165 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5206, allocations: 0 / 0.6165 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.5211, allocations: 443.2 kB / 0.6169 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5212, allocations: 3.938 kB / 0.6169 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.5212, allocations: 8 kB / 0.6169 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5212, allocations: 3.984 kB / 0.6169 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.5212, allocations: 8.281 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5212, allocations: 0 / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5212, allocations: 3.938 kB / 0.6169 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.5215, allocations: 216.1 kB / 0.6171 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.5216, allocations: 104.9 kB / 0.6172 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5216, allocations: 4 kB / 0.6172 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.5217, allocations: 0 / 0.6172 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.5217, allocations: 11.92 kB / 0.6172 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5218, allocations: 8 kB / 0.6172 GB, free: 3.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.522, allocations: 200.6 kB / 0.6174 GB, free: 3.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.522, allocations: 0 / 0.6174 GB, free: 3.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.5222, allocations: 39.98 kB / 0.6175 GB, free: 3.535 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.001104/0.5234, allocations: 465.4 kB / 0.6179 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5236, allocations: 59.97 kB / 0.618 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5236, allocations: 4.062 kB / 0.618 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.5237, allocations: 40.06 kB / 0.618 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.524, allocations: 28.94 kB / 0.618 GB, free: 3.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.5246, allocations: 326.9 kB / 0.6184 GB, free: 2.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.525, allocations: 0.72 MB / 0.6191 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.257e-05/0.5251, allocations: 20.55 kB / 0.6191 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.5251, allocations: 15.44 kB / 0.6191 GB, free: 1.98 MB / 426.7 MB Notification: Performance of SimCode: time 3.336e-06/0.5251, allocations: 0 / 0.6191 GB, free: 1.98 MB / 426.7 MB Notification: Performance of Templates: time 0.004536/0.5297, allocations: 1.876 MB / 0.6209 GB, free: 116 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches