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.001308/0.001308, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 79.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.393, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004326/0.3973, allocations: 2.369 MB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3999, allocations: 1.393 MB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.4003, allocations: 8.062 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.4009, allocations: 289.7 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.4017, allocations: 337.6 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.4024, allocations: 213.4 kB / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.4032, allocations: 0.5554 MB / 0.5356 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.4034, allocations: 61.86 kB / 0.5357 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.4038, allocations: 250.1 kB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.4041, allocations: 264.7 kB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.4042, allocations: 22.84 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.4044, allocations: 58.98 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.4045, allocations: 116.2 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.4047, allocations: 181.3 kB / 0.5365 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.4053, allocations: 431 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4053, allocations: 0 / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4053, allocations: 0 / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4054, allocations: 0 / 0.5369 GB, free: 8.75 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.00125/0.4066, allocations: 0.8174 MB / 0.5377 GB, free: 8.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4067, allocations: 9.562 kB / 0.5377 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.4067, allocations: 47.05 kB / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.4068, allocations: 58.25 kB / 0.5378 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.4074, allocations: 435.2 kB / 0.5383 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4075, allocations: 9.656 kB / 0.5383 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.4075, allocations: 18.25 kB / 0.5383 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.4079, allocations: 207.3 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4079, allocations: 1.375 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.408, allocations: 5.312 kB / 0.5385 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.408, allocations: 3.906 kB / 0.5385 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.4082, allocations: 99.89 kB / 0.5386 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.4092, allocations: 0.8653 MB / 0.5394 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.4098, allocations: 289.5 kB / 0.5397 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.41, allocations: 101 kB / 0.5398 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.4101, allocations: 4.906 kB / 0.5398 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.4105, allocations: 222.3 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.654e-06/0.4105, allocations: 0 / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002134/0.4126, allocations: 1.047 MB / 0.541 GB, free: 5.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4127, allocations: 162.5 kB / 0.5412 GB, free: 5.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/0.4137, allocations: 0.6567 MB / 0.5418 GB, free: 4.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4138, allocations: 34.45 kB / 0.5419 GB, free: 4.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.414, allocations: 234.8 kB / 0.5421 GB, free: 4.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.4141, allocations: 132.8 kB / 0.5422 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4143, allocations: 67.05 kB / 0.5423 GB, free: 4.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4145, allocations: 379.8 kB / 0.5426 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.4147, allocations: 102.1 kB / 0.5427 GB, free: 4.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.415, allocations: 180.2 kB / 0.5429 GB, free: 3.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.4156, allocations: 305.5 kB / 0.5432 GB, free: 3.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4156, allocations: 1.219 kB / 0.5432 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008669/0.4165, allocations: 410.5 kB / 0.5436 GB, free: 3.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.4165, allocations: 5.812 kB / 0.5436 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4166, allocations: 2.219 kB / 0.5436 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4166, allocations: 8.812 kB / 0.5436 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.4169, allocations: 88.08 kB / 0.5437 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.4169, allocations: 8 kB / 0.5437 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.4171, allocations: 22.33 kB / 0.5437 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.4172, allocations: 12.59 kB / 0.5437 GB, free: 3.477 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.0002675/0.4175, allocations: 212.2 kB / 0.5439 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.4176, allocations: 64.05 kB / 0.544 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4177, allocations: 71.67 kB / 0.5441 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4177, allocations: 6.125 kB / 0.5441 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4177, allocations: 9.469 kB / 0.5441 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4177, allocations: 1.469 kB / 0.5441 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.4194, allocations: 1.278 MB / 0.5453 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4194, allocations: 4 kB / 0.5453 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4195, allocations: 43.92 kB / 0.5454 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4195, allocations: 4 kB / 0.5454 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.4196, allocations: 19.92 kB / 0.5454 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4196, allocations: 4.547 kB / 0.5454 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4196, allocations: 4 kB / 0.5454 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.4205, allocations: 0.8284 MB / 0.5462 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4206, allocations: 132.7 kB / 0.5463 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.4207, allocations: 11.94 kB / 0.5464 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.421, allocations: 19.98 kB / 0.5464 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.4211, allocations: 39.89 kB / 0.5464 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.4211, allocations: 23.98 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005204/0.4217, allocations: 486.8 kB / 0.5469 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4217, allocations: 0 / 0.5469 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000572/0.4223, allocations: 87.92 kB / 0.547 GB, free: 440 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.002386/0.4246, allocations: 1.736 MB / 0.5487 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.4254, allocations: 283.9 kB / 0.549 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.4255, allocations: 0 / 0.549 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.4258, allocations: 156.6 kB / 0.5491 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.427, allocations: 140.5 kB / 0.5492 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/0.433, allocations: 4.541 MB / 0.5537 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.4335, allocations: 0.8628 MB / 0.5545 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.4338, allocations: 84.11 kB / 0.5546 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.4341, allocations: 187.4 kB / 0.5548 GB, free: 8.363 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4341, allocations: 0 / 0.5548 GB, free: 8.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.4694, allocations: 10.9 MB / 0.5654 GB, free: 13.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/8.909, allocations: 3.984 kB / 0.5654 GB, free: 13.59 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