Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 117.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.89 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5073, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004509/0.5119, allocations: 2.278 MB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003161/0.5151, allocations: 1.316 MB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.5153, allocations: 7.969 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.5159, allocations: 121.7 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.5166, allocations: 247.3 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.5171, allocations: 186.9 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.5178, allocations: 457.4 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.518, allocations: 63.31 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.5184, allocations: 288.1 kB / 0.5359 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.5187, allocations: 156.2 kB / 0.5361 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.5187, allocations: 16.5 kB / 0.5361 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.5189, allocations: 82.75 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.5191, allocations: 131.1 kB / 0.5363 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.5193, allocations: 193.9 kB / 0.5365 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.5199, allocations: 442.4 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.52, allocations: 0 / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.52, allocations: 0 / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.52, allocations: 1.031 kB / 0.5369 GB, free: 9.301 MB / 398.1 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.001236/0.5212, allocations: 0.8184 MB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5213, allocations: 14.22 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.5214, allocations: 64.28 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.522, allocations: 416 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.522, allocations: 9.438 kB / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.5221, allocations: 22.59 kB / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.5225, allocations: 196.4 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5225, allocations: 1.594 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.5225, allocations: 5.344 kB / 0.5384 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.5226, allocations: 4.062 kB / 0.5384 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.5228, allocations: 93.77 kB / 0.5385 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.5238, allocations: 0.8005 MB / 0.5393 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.5246, allocations: 244 kB / 0.5395 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5248, allocations: 90.14 kB / 0.5396 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.5248, allocations: 8.562 kB / 0.5396 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.5252, allocations: 210.1 kB / 0.5398 GB, free: 6.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.5252, allocations: 0 / 0.5398 GB, free: 6.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002741/0.528, allocations: 1.126 MB / 0.5409 GB, free: 6.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5281, allocations: 137.8 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.5292, allocations: 0.7889 MB / 0.5418 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.5292, allocations: 41.72 kB / 0.5418 GB, free: 5.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.5296, allocations: 241.3 kB / 0.5421 GB, free: 5.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.5297, allocations: 137.8 kB / 0.5422 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5299, allocations: 86.5 kB / 0.5423 GB, free: 5.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.5301, allocations: 373 kB / 0.5426 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.5304, allocations: 112.4 kB / 0.5427 GB, free: 4.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.5307, allocations: 182.9 kB / 0.5429 GB, free: 4.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.5314, allocations: 324.9 kB / 0.5432 GB, free: 4.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5314, allocations: 1.062 kB / 0.5432 GB, free: 4.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009448/0.5324, allocations: 432.5 kB / 0.5436 GB, free: 4.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5324, allocations: 6.75 kB / 0.5436 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5324, allocations: 2.594 kB / 0.5436 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.5324, allocations: 2.531 kB / 0.5436 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.5327, allocations: 89.62 kB / 0.5437 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.5328, allocations: 7.266 kB / 0.5437 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.5329, allocations: 20.34 kB / 0.5438 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.533, allocations: 21.16 kB / 0.5438 GB, free: 4.188 MB / 398.1 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.0003088/0.5333, allocations: 236.9 kB / 0.544 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5334, allocations: 74.23 kB / 0.5441 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.5336, allocations: 76.36 kB / 0.5441 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5336, allocations: 5.406 kB / 0.5442 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.5336, allocations: 1.125 kB / 0.5442 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5336, allocations: 8.953 kB / 0.5442 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.5355, allocations: 1.307 MB / 0.5454 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5355, allocations: 4 kB / 0.5454 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.5357, allocations: 59.91 kB / 0.5455 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.5357, allocations: 4 kB / 0.5455 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.5357, allocations: 19.98 kB / 0.5455 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5358, allocations: 4 kB / 0.5455 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/0.5358, allocations: 7.938 kB / 0.5455 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5369, allocations: 0.8006 MB / 0.5463 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.5371, allocations: 164.3 kB / 0.5465 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.5372, allocations: 19.98 kB / 0.5465 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.5374, allocations: 15.98 kB / 0.5465 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5375, allocations: 47.83 kB / 0.5466 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.5376, allocations: 24 kB / 0.5466 GB, free: 1.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006681/0.5383, allocations: 0.581 MB / 0.5471 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5383, allocations: 0 / 0.5471 GB, free: 0.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000517/0.5388, allocations: 87.91 kB / 0.5472 GB, free: 0.6641 MB / 398.1 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.001372/0.5402, allocations: 0.5212 MB / 0.5477 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006587/0.5408, allocations: 323.6 kB / 0.548 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5409, allocations: 0 / 0.548 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.5412, allocations: 167.9 kB / 0.5482 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5422, allocations: 134.7 kB / 0.5483 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.5439, allocations: 1.059 MB / 0.5494 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.5446, allocations: 0.886 MB / 0.5502 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.5448, allocations: 79.3 kB / 0.5503 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5449, allocations: 55.41 kB / 0.5504 GB, free: 13.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5449, allocations: 0 / 0.5504 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Templates: time 0.01214/0.5571, allocations: 5.571 MB / 0.5558 GB, free: 8.027 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches