Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, 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.001348/0.001348, allocations: 202 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.422/1.422, 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.2204/0.2204, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3832, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00311/0.3864, allocations: 1.84 MB / 0.5324 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3881, allocations: 1.087 MB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.3882, allocations: 1.125 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.3887, allocations: 308.5 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.3892, allocations: 256 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3895, allocations: 104.4 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.3898, allocations: 262.9 kB / 0.5343 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.3898, allocations: 15.3 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.39, allocations: 133.4 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.3903, allocations: 199.2 kB / 0.5347 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.3903, allocations: 6.844 kB / 0.5347 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3904, allocations: 51.64 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.3906, allocations: 142.2 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3907, allocations: 151.9 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.3911, allocations: 371.9 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3912, allocations: 3.938 kB / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3912, allocations: 0 / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3912, allocations: 1.156 kB / 0.5354 GB, free: 9.973 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008985/0.3921, allocations: 0.7662 MB / 0.5361 GB, free: 9.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3921, allocations: 13.34 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.3922, allocations: 32.59 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.3922, allocations: 50.58 kB / 0.5362 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.3928, allocations: 460.8 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3929, allocations: 6.656 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3929, allocations: 6.75 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.3931, allocations: 87.58 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.3931, allocations: 0 / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3932, allocations: 1.469 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3932, allocations: 0 / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3933, allocations: 32.09 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.3938, allocations: 387 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.3941, allocations: 108.9 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3942, allocations: 42.62 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3942, allocations: 1.094 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.3945, allocations: 112.5 kB / 0.5374 GB, free: 8.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3945, allocations: 3.938 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005412/0.395, allocations: 197.3 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3951, allocations: 86.25 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.3965, allocations: 1.049 MB / 0.5387 GB, free: 7.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3965, allocations: 27.92 kB / 0.5387 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3967, allocations: 242.4 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.3968, allocations: 32.23 kB / 0.539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.3969, allocations: 26.47 kB / 0.539 GB, free: 7.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3971, allocations: 369.8 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.3972, allocations: 35.2 kB / 0.5394 GB, free: 6.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3973, allocations: 58.95 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3975, allocations: 97.5 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3976, allocations: 5.156 kB / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003156/0.3979, allocations: 167.8 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3979, allocations: 4.281 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3979, allocations: 1.5 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3979, allocations: 5.375 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3981, allocations: 21.58 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3981, allocations: 6.938 kB / 0.5397 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3982, allocations: 15.42 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3982, allocations: 8.312 kB / 0.5398 GB, free: 6.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002296/0.3985, allocations: 226 kB / 0.54 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.3985, allocations: 59.27 kB / 0.54 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.3986, allocations: 58.58 kB / 0.5401 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3986, allocations: 6.594 kB / 0.5401 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3987, allocations: 0 / 0.5401 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3987, allocations: 1.594 kB / 0.5401 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.399, allocations: 350 kB / 0.5404 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.399, allocations: 0 / 0.5404 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.3991, allocations: 6.438 kB / 0.5404 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3991, allocations: 5.438 kB / 0.5404 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3991, allocations: 6.328 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3991, allocations: 5.094 kB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3991, allocations: 1.125 kB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.3995, allocations: 208.6 kB / 0.5406 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3996, allocations: 138.9 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.3997, allocations: 10.31 kB / 0.5408 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.3998, allocations: 6.328 kB / 0.5408 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.3998, allocations: 8.516 kB / 0.5408 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3999, allocations: 8.5 kB / 0.5408 GB, free: 5.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000977/0.4008, allocations: 0.7856 MB / 0.5416 GB, free: 5.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4008, allocations: 0 / 0.5416 GB, free: 5.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.4012, allocations: 44.22 kB / 0.5416 GB, free: 5.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001723/0.4029, allocations: 1.035 MB / 0.5426 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.4032, allocations: 82.12 kB / 0.5427 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4032, allocations: 1.25 kB / 0.5427 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.4033, allocations: 46.06 kB / 0.5428 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.4038, allocations: 71.34 kB / 0.5428 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.4098, allocations: 4.578 MB / 0.5473 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.4103, allocations: 0.8466 MB / 0.5481 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.4104, allocations: 62.92 kB / 0.5482 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4106, allocations: 155.4 kB / 0.5483 GB, free: 15.19 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4106, allocations: 0 / 0.5483 GB, free: 15.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.4442, allocations: 9.08 MB / 0.5572 GB, free: 6.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.816, allocations: 15.62 kB / 0.5572 GB, free: 6.184 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime