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.0013/0.001301, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 76.11 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3466, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004199/0.3509, allocations: 2.28 MB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3536, allocations: 1.316 MB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.3539, allocations: 6.688 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.3544, allocations: 126 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000682/0.3551, allocations: 243.5 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.3557, allocations: 187.5 kB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.3565, allocations: 456.7 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3567, allocations: 67.45 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.3572, allocations: 287.5 kB / 0.5366 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.3575, allocations: 155.8 kB / 0.5367 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.3576, allocations: 17.09 kB / 0.5367 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3578, allocations: 79.33 kB / 0.5368 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.358, allocations: 137.6 kB / 0.537 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3582, allocations: 190.6 kB / 0.5371 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.3589, allocations: 434.5 kB / 0.5376 GB, free: 9.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3589, allocations: 0 / 0.5376 GB, free: 9.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3589, allocations: 1.438 kB / 0.5376 GB, free: 9.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3589, allocations: 0 / 0.5376 GB, free: 9.293 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.001367/0.3603, allocations: 0.8199 MB / 0.5384 GB, free: 8.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3603, allocations: 14.41 kB / 0.5384 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3605, allocations: 64.23 kB / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.3612, allocations: 415.7 kB / 0.5388 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3612, allocations: 6.188 kB / 0.5388 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3612, allocations: 29.14 kB / 0.5389 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.3617, allocations: 193 kB / 0.539 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3617, allocations: 5.109 kB / 0.539 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3617, allocations: 6.344 kB / 0.5391 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3617, allocations: 3.156 kB / 0.5391 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.362, allocations: 90.34 kB / 0.5391 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3631, allocations: 0.8046 MB / 0.5399 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.3637, allocations: 248.7 kB / 0.5402 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3639, allocations: 85.69 kB / 0.5402 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.364, allocations: 8.438 kB / 0.5403 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.3644, allocations: 213.9 kB / 0.5405 GB, free: 6.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.3644, allocations: 0 / 0.5405 GB, free: 6.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002704/0.3671, allocations: 1.118 MB / 0.5416 GB, free: 6.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.3672, allocations: 137 kB / 0.5417 GB, free: 6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3683, allocations: 0.7965 MB / 0.5425 GB, free: 5.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.3683, allocations: 38.05 kB / 0.5425 GB, free: 5.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.3686, allocations: 241.1 kB / 0.5427 GB, free: 5.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.3688, allocations: 142.5 kB / 0.5429 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3689, allocations: 78.11 kB / 0.5429 GB, free: 5.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3692, allocations: 376.6 kB / 0.5433 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.3695, allocations: 115.9 kB / 0.5434 GB, free: 4.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.3698, allocations: 180.3 kB / 0.5436 GB, free: 4.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.3704, allocations: 316.4 kB / 0.5439 GB, free: 4.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3704, allocations: 1.031 kB / 0.5439 GB, free: 4.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008614/0.3712, allocations: 441.8 kB / 0.5443 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3713, allocations: 5.625 kB / 0.5443 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3713, allocations: 1.156 kB / 0.5443 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3713, allocations: 4.406 kB / 0.5443 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.3716, allocations: 92.17 kB / 0.5444 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3716, allocations: 5.062 kB / 0.5444 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.3719, allocations: 23.52 kB / 0.5444 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.3719, allocations: 21.19 kB / 0.5444 GB, free: 4.168 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.0002927/0.3722, allocations: 225 kB / 0.5447 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3723, allocations: 66.91 kB / 0.5447 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.3725, allocations: 84.38 kB / 0.5448 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3725, allocations: 6.156 kB / 0.5448 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3725, allocations: 1.406 kB / 0.5448 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3725, allocations: 3.938 kB / 0.5448 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.3743, allocations: 1.315 MB / 0.5461 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3744, allocations: 4 kB / 0.5461 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3745, allocations: 63.91 kB / 0.5462 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3745, allocations: 4 kB / 0.5462 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3747, allocations: 16 kB / 0.5462 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.3747, allocations: 7.984 kB / 0.5462 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.3747, allocations: 7.938 kB / 0.5462 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.3757, allocations: 0.8006 MB / 0.547 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3758, allocations: 164.3 kB / 0.5471 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.3759, allocations: 16 kB / 0.5472 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.3762, allocations: 15.98 kB / 0.5472 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.3763, allocations: 47.88 kB / 0.5472 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.3764, allocations: 27.98 kB / 0.5472 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000632/0.377, allocations: 0.5732 MB / 0.5478 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.377, allocations: 0 / 0.5478 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005969/0.3776, allocations: 95.89 kB / 0.5479 GB, free: 0.6289 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.001253/0.3789, allocations: 0.5271 MB / 0.5484 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008562/0.3797, allocations: 319.7 kB / 0.5487 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3797, allocations: 0 / 0.5487 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.3802, allocations: 167.8 kB / 0.5489 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3812, allocations: 127.3 kB / 0.549 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3829, allocations: 1.091 MB / 0.5501 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.3834, allocations: 0.8938 MB / 0.5509 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3835, allocations: 55.36 kB / 0.551 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3835, allocations: 0 / 0.551 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Templates: time 0.01083/0.3944, allocations: 6.501 MB / 0.5573 GB, free: 7.078 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches