Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 80.09 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4034, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003386/0.4069, allocations: 1.771 MB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.4087, allocations: 1.035 MB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.4088, allocations: 1.125 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.4093, allocations: 106.9 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.4097, allocations: 137.2 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.4099, allocations: 76.34 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.4102, allocations: 138.3 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4103, allocations: 23.33 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.4104, allocations: 67.09 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4106, allocations: 70.16 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4106, allocations: 5.562 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.4108, allocations: 60 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.4108, allocations: 35.72 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.4109, allocations: 49.8 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.4113, allocations: 165 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4113, allocations: 0 / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4113, allocations: 1.562 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4113, allocations: 0 / 0.5354 GB, free: 10.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006269/0.4119, allocations: 453.7 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.412, allocations: 9.625 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.4121, allocations: 23.62 kB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4124, allocations: 237.4 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4124, allocations: 7.109 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.4125, allocations: 12.25 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4127, allocations: 74.22 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4127, allocations: 0 / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4127, allocations: 5.375 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4127, allocations: 1.375 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4128, allocations: 35.22 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.4133, allocations: 330.3 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.4136, allocations: 74.61 kB / 0.5366 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.4137, allocations: 29.31 kB / 0.5366 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4137, allocations: 2.469 kB / 0.5366 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.4139, allocations: 85.5 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.4139, allocations: 0 / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009121/0.4148, allocations: 313.6 kB / 0.537 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.4149, allocations: 53.59 kB / 0.537 GB, free: 9.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.4151, allocations: 254.2 kB / 0.5373 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.4152, allocations: 32.19 kB / 0.5373 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.4153, allocations: 119.3 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.4153, allocations: 50.47 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.4154, allocations: 28 kB / 0.5375 GB, free: 8.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4155, allocations: 336.4 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.4156, allocations: 35.17 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.4157, allocations: 54.3 kB / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4159, allocations: 103.4 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4159, allocations: 0 / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002818/0.4162, allocations: 158.5 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4162, allocations: 8.5 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4162, allocations: 1.344 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4163, allocations: 4.938 kB / 0.5382 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4164, allocations: 30.8 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4164, allocations: 1.156 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.4164, allocations: 6.328 kB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4165, allocations: 7.281 kB / 0.5382 GB, free: 8.402 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001181/0.4166, allocations: 134.6 kB / 0.5384 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.4166, allocations: 18.91 kB / 0.5384 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.4167, allocations: 27.23 kB / 0.5384 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4167, allocations: 5.094 kB / 0.5384 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4167, allocations: 1.094 kB / 0.5384 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4167, allocations: 7.875 kB / 0.5384 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.4174, allocations: 0.5009 MB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4174, allocations: 1.438 kB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.4175, allocations: 23.92 kB / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4175, allocations: 1.344 kB / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4175, allocations: 6.688 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4175, allocations: 1.25 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4175, allocations: 1.219 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.4179, allocations: 256 kB / 0.5392 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.4179, allocations: 96.91 kB / 0.5393 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.418, allocations: 7 kB / 0.5393 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.418, allocations: 3.219 kB / 0.5393 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.4181, allocations: 13.52 kB / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4181, allocations: 4.344 kB / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.4183, allocations: 200.7 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4183, allocations: 0 / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.4186, allocations: 36.61 kB / 0.5395 GB, free: 7.305 MB / 398.1 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001275/0.4199, allocations: 0.5087 MB / 0.54 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.4202, allocations: 110.3 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4202, allocations: 0.9062 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4203, allocations: 51.23 kB / 0.5402 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4207, allocations: 36.41 kB / 0.5402 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.4214, allocations: 363 kB / 0.5406 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4217, allocations: 0.7287 MB / 0.5413 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.4218, allocations: 19.5 kB / 0.5413 GB, free: 5.961 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4218, allocations: 0 / 0.5413 GB, free: 5.961 MB / 398.1 MB Notification: Performance of Templates: time 0.005153/0.4269, allocations: 2.53 MB / 0.5438 GB, free: 4.652 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches