Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.001968, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 246.9 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.2581/0.2581, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3891, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004051/0.3932, allocations: 2.365 MB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.3963, allocations: 1.39 MB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.3966, allocations: 8.062 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.3972, allocations: 289.6 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.398, allocations: 341.9 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.3986, allocations: 221.1 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000668/0.3992, allocations: 0.5553 MB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.3994, allocations: 53.53 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.3998, allocations: 246.5 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.4001, allocations: 269 kB / 0.5362 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.4002, allocations: 22.5 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.4004, allocations: 59.19 kB / 0.5362 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.4006, allocations: 112.7 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.4008, allocations: 187.9 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.4014, allocations: 426.5 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4014, allocations: 1.188 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4014, allocations: 0 / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.4014, allocations: 0 / 0.5369 GB, free: 8.727 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001416/0.4028, allocations: 0.8135 MB / 0.5377 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4029, allocations: 13.41 kB / 0.5377 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.403, allocations: 50.92 kB / 0.5378 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4031, allocations: 62.03 kB / 0.5379 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.4038, allocations: 427.1 kB / 0.5383 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4039, allocations: 18.64 kB / 0.5383 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.4039, allocations: 21.5 kB / 0.5383 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.4044, allocations: 199.5 kB / 0.5385 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4044, allocations: 1.5 kB / 0.5385 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.4044, allocations: 5.438 kB / 0.5385 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4044, allocations: 3.781 kB / 0.5385 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.4047, allocations: 103.5 kB / 0.5386 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.4058, allocations: 0.858 MB / 0.5394 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.4065, allocations: 292.8 kB / 0.5397 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.4067, allocations: 94.61 kB / 0.5398 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.4068, allocations: 8.047 kB / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.4073, allocations: 218.3 kB / 0.54 GB, free: 6.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.4073, allocations: 0 / 0.54 GB, free: 6.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002466/0.4098, allocations: 1.049 MB / 0.541 GB, free: 5.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.4099, allocations: 163.9 kB / 0.5412 GB, free: 5.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.4109, allocations: 0.6516 MB / 0.5418 GB, free: 4.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.4109, allocations: 38.48 kB / 0.5419 GB, free: 4.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.4111, allocations: 234.7 kB / 0.5421 GB, free: 4.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.4113, allocations: 133.6 kB / 0.5422 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.4114, allocations: 75.22 kB / 0.5423 GB, free: 4.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4116, allocations: 370.8 kB / 0.5426 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.4119, allocations: 98.86 kB / 0.5427 GB, free: 4.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.4122, allocations: 191.6 kB / 0.5429 GB, free: 3.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.4128, allocations: 301.5 kB / 0.5432 GB, free: 3.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4128, allocations: 1.125 kB / 0.5432 GB, free: 3.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001017/0.4138, allocations: 414.4 kB / 0.5436 GB, free: 3.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4139, allocations: 6.406 kB / 0.5436 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4139, allocations: 2.391 kB / 0.5436 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4139, allocations: 8.375 kB / 0.5436 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.4143, allocations: 80.75 kB / 0.5437 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/0.4143, allocations: 12.25 kB / 0.5437 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.4146, allocations: 21.3 kB / 0.5437 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.4146, allocations: 16.91 kB / 0.5438 GB, free: 3.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002691/0.4149, allocations: 204.4 kB / 0.5439 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.415, allocations: 67.67 kB / 0.544 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.4152, allocations: 72.59 kB / 0.5441 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.4152, allocations: 4.344 kB / 0.5441 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4152, allocations: 2.125 kB / 0.5441 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.4152, allocations: 5.172 kB / 0.5441 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.417, allocations: 1.272 MB / 0.5453 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.417, allocations: 1.125 kB / 0.5453 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.4172, allocations: 55.91 kB / 0.5454 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.4172, allocations: 4 kB / 0.5454 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4172, allocations: 15.92 kB / 0.5454 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4173, allocations: 4 kB / 0.5454 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4173, allocations: 7.938 kB / 0.5454 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.4182, allocations: 0.821 MB / 0.5462 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4183, allocations: 124.7 kB / 0.5463 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.4184, allocations: 27.92 kB / 0.5464 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.4187, allocations: 15.98 kB / 0.5464 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.4188, allocations: 35.95 kB / 0.5464 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.4188, allocations: 20 kB / 0.5464 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005249/0.4193, allocations: 494.8 kB / 0.5469 GB, free: 496 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4194, allocations: 0 / 0.5469 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005576/0.4199, allocations: 79.94 kB / 0.547 GB, free: 416 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002626/0.4226, allocations: 1.739 MB / 0.5487 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.4233, allocations: 299.6 kB / 0.549 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4233, allocations: 0 / 0.549 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.4236, allocations: 145 kB / 0.5491 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.4247, allocations: 149.4 kB / 0.5492 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.4313, allocations: 4.533 MB / 0.5537 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.4319, allocations: 0.8629 MB / 0.5545 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.4322, allocations: 84.14 kB / 0.5546 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.4325, allocations: 183.4 kB / 0.5548 GB, free: 8.336 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4325, allocations: 0 / 0.5548 GB, free: 8.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.4657, allocations: 10.9 MB / 0.5654 GB, free: 13.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.872, allocations: 15.98 kB / 0.5654 GB, free: 13.55 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches