Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 101 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4476/0.4476, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.88 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4344, allocations: 62.02 MB / 0.5152 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003397/0.4379, allocations: 2.33 MB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.4398, allocations: 1.363 MB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.44, allocations: 2.938 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.4404, allocations: 126.4 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.4408, allocations: 224.4 kB / 0.5191 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.4415, allocations: 296.7 kB / 0.5194 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.4419, allocations: 439.8 kB / 0.5198 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.4421, allocations: 63.55 kB / 0.5199 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.4425, allocations: 284.1 kB / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.4427, allocations: 158.1 kB / 0.5203 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.4427, allocations: 12.41 kB / 0.5203 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.4429, allocations: 70.75 kB / 0.5204 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.4431, allocations: 142 kB / 0.5205 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.4432, allocations: 201.6 kB / 0.5207 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.4437, allocations: 464.1 kB / 0.5211 GB, free: 34.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4437, allocations: 0 / 0.5211 GB, free: 34.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4437, allocations: 0 / 0.5211 GB, free: 34.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4437, allocations: 0 / 0.5211 GB, free: 34.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001045/0.4448, allocations: 0.8904 MB / 0.522 GB, free: 33.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4448, allocations: 14.28 kB / 0.522 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.4449, allocations: 65.69 kB / 0.5221 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.4454, allocations: 451.6 kB / 0.5225 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4454, allocations: 13.5 kB / 0.5225 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.4454, allocations: 19.59 kB / 0.5226 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.4458, allocations: 193.3 kB / 0.5227 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4458, allocations: 4 kB / 0.5227 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.4458, allocations: 10.53 kB / 0.5228 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4459, allocations: 2.562 kB / 0.5228 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.4461, allocations: 90.55 kB / 0.5228 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.4469, allocations: 0.8293 MB / 0.5236 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.4475, allocations: 247.4 kB / 0.5239 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4477, allocations: 92.41 kB / 0.524 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.4478, allocations: 6.469 kB / 0.524 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.4482, allocations: 203.2 kB / 0.5242 GB, free: 31.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.4482, allocations: 0 / 0.5242 GB, free: 31.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002139/0.4503, allocations: 1.166 MB / 0.5253 GB, free: 31.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.4504, allocations: 142.6 kB / 0.5254 GB, free: 31.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/0.4513, allocations: 0.9557 MB / 0.5264 GB, free: 30.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4513, allocations: 39.45 kB / 0.5264 GB, free: 30.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.4515, allocations: 271.1 kB / 0.5267 GB, free: 30.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.4516, allocations: 142.1 kB / 0.5268 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.4517, allocations: 80.05 kB / 0.5269 GB, free: 30.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.4517, allocations: 326.9 kB / 0.5272 GB, free: 30.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.4519, allocations: 109 kB / 0.5273 GB, free: 30.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4522, allocations: 183.7 kB / 0.5275 GB, free: 30.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.4527, allocations: 318.9 kB / 0.5278 GB, free: 29.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4527, allocations: 4 kB / 0.5278 GB, free: 29.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006355/0.4533, allocations: 439.9 kB / 0.5282 GB, free: 29.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4533, allocations: 7.969 kB / 0.5282 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4533, allocations: 0 / 0.5282 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4534, allocations: 5.5 kB / 0.5282 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.4536, allocations: 89.53 kB / 0.5283 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.4537, allocations: 13.23 kB / 0.5283 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4538, allocations: 31.45 kB / 0.5283 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.4538, allocations: 16.78 kB / 0.5284 GB, free: 29.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.4541, allocations: 253.8 kB / 0.5286 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.4542, allocations: 73.34 kB / 0.5287 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.4543, allocations: 87.05 kB / 0.5288 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4543, allocations: 5.656 kB / 0.5288 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4543, allocations: 0 / 0.5288 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4543, allocations: 10.12 kB / 0.5288 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.4557, allocations: 1.347 MB / 0.5301 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4557, allocations: 2.875 kB / 0.5301 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.4558, allocations: 62.34 kB / 0.5302 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4559, allocations: 5.688 kB / 0.5302 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4559, allocations: 15.55 kB / 0.5302 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4559, allocations: 3.25 kB / 0.5302 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4559, allocations: 10.06 kB / 0.5302 GB, free: 28.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.4571, allocations: 1.577 MB / 0.5317 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.4573, allocations: 184 kB / 0.5319 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.4573, allocations: 16.66 kB / 0.5319 GB, free: 27.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.4576, allocations: 19.91 kB / 0.5319 GB, free: 27.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.4577, allocations: 41.69 kB / 0.532 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.4577, allocations: 25.27 kB / 0.532 GB, free: 27.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006382/0.4584, allocations: 0.6999 MB / 0.5327 GB, free: 26.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4584, allocations: 3.938 kB / 0.5327 GB, free: 26.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006016/0.459, allocations: 101.2 kB / 0.5328 GB, free: 26.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.4602, allocations: 0.5228 MB / 0.5333 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.4607, allocations: 315.5 kB / 0.5336 GB, free: 26.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4607, allocations: 0 / 0.5336 GB, free: 26.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.461, allocations: 166.9 kB / 0.5338 GB, free: 26.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.4619, allocations: 119.1 kB / 0.5339 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.4636, allocations: 1.641 MB / 0.5355 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4639, allocations: 0.9236 MB / 0.5364 GB, free: 24.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.4642, allocations: 74.02 kB / 0.5364 GB, free: 24.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.4643, allocations: 55.11 kB / 0.5365 GB, free: 24.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4643, allocations: 0 / 0.5365 GB, free: 24.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01253/0.4768, allocations: 5.363 MB / 0.5417 GB, free: 24.03 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches