Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 114.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.001903/0.001903, allocations: 205.2 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.484/1.484, 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.2357/0.2357, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4051, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003967/0.4091, allocations: 1.673 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4102, allocations: 0.5495 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.4103, allocations: 3.938 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.411, allocations: 456.4 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000655/0.4117, allocations: 288.5 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.4121, allocations: 138.7 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.4124, allocations: 173.2 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4126, allocations: 20.23 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.4127, allocations: 114.8 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.413, allocations: 206.6 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.4131, allocations: 7.75 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4132, allocations: 60.11 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4133, allocations: 78.2 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.4134, allocations: 112.8 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.4138, allocations: 278.9 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4139, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4139, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4139, allocations: 1.094 kB / 0.5346 GB, free: 10.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009149/0.4148, allocations: 0.6765 MB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4149, allocations: 13.03 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.4149, allocations: 32.03 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.415, allocations: 44.16 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.4154, allocations: 311.3 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4154, allocations: 6.438 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4155, allocations: 3 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4157, allocations: 60.48 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4157, allocations: 0 / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4157, allocations: 5.062 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4157, allocations: 1.281 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4158, allocations: 31.91 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.4164, allocations: 400.6 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.4165, allocations: 43.03 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.4166, allocations: 16.38 kB / 0.5362 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.4166, allocations: 5.219 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4167, allocations: 39.69 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4167, allocations: 0 / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009733/0.4177, allocations: 316.9 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.4177, allocations: 60.56 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4188, allocations: 0.8718 MB / 0.5374 GB, free: 8.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4188, allocations: 31.33 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.419, allocations: 221.3 kB / 0.5376 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.4191, allocations: 32.08 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.4191, allocations: 19.69 kB / 0.5377 GB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4193, allocations: 359.5 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4194, allocations: 30.55 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.4195, allocations: 23.58 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4197, allocations: 64.23 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4197, allocations: 0 / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002694/0.42, allocations: 138.9 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.42, allocations: 12.86 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.42, allocations: 1.062 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.42, allocations: 7.938 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4202, allocations: 22.11 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.4202, allocations: 1.094 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.4203, allocations: 3.406 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4203, allocations: 6.219 kB / 0.5383 GB, free: 7.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002335/0.4205, allocations: 218.6 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.4206, allocations: 46.14 kB / 0.5386 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.421, allocations: 157.5 kB / 0.5387 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.421, allocations: 5.125 kB / 0.5387 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.421, allocations: 0 / 0.5387 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.421, allocations: 432 / 0.5387 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.4217, allocations: 0.5037 MB / 0.5392 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4217, allocations: 0.9688 kB / 0.5392 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.4218, allocations: 21.92 kB / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4218, allocations: 0.9688 kB / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4218, allocations: 5.125 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4218, allocations: 1 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4219, allocations: 1.188 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.4222, allocations: 250.3 kB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.4223, allocations: 116 kB / 0.5396 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.4223, allocations: 1.125 kB / 0.5396 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.4224, allocations: 4.25 kB / 0.5396 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.4224, allocations: 11.17 kB / 0.5396 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4225, allocations: 6.719 kB / 0.5396 GB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007811/0.4232, allocations: 0.6589 MB / 0.5403 GB, free: 6.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4232, allocations: 0 / 0.5403 GB, free: 6.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.4235, allocations: 30.59 kB / 0.5403 GB, free: 6.285 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001596/0.4251, allocations: 1.135 MB / 0.5414 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.4254, allocations: 68.2 kB / 0.5415 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4254, allocations: 0 / 0.5415 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.4255, allocations: 29.95 kB / 0.5415 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.4259, allocations: 41.72 kB / 0.5416 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.4297, allocations: 3.325 MB / 0.5448 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4302, allocations: 0.826 MB / 0.5456 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.4302, allocations: 24.7 kB / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4304, allocations: 111.4 kB / 0.5457 GB, free: 1.898 MB / 398.1 MB Notification: Performance of SimCode: time 1.462e-06/0.4304, allocations: 112 / 0.5457 GB, free: 1.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4526, allocations: 6.368 MB / 0.552 GB, free: 11.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.668, allocations: 10.56 kB / 0.552 GB, free: 11.6 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches