Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001466, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001732, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, 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.2355/0.2355, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 79.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4192, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003192/0.4225, allocations: 1.656 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4236, allocations: 0.5768 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.4237, allocations: 1.938 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.4244, allocations: 456.4 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.4249, allocations: 289.1 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.4253, allocations: 172.7 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.4256, allocations: 182.5 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4257, allocations: 13.62 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4258, allocations: 110.6 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.4261, allocations: 222.6 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.4261, allocations: 3.344 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4262, allocations: 33.7 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4264, allocations: 83.19 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.4265, allocations: 103.4 kB / 0.5343 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.4269, allocations: 268.2 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4269, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4269, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.4269, allocations: 1.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008553/0.4278, allocations: 0.6748 MB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4278, allocations: 10.38 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.4279, allocations: 36.12 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.4279, allocations: 43.19 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.4283, allocations: 304.4 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4283, allocations: 1.469 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4283, allocations: 3.469 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4285, allocations: 63.78 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4285, allocations: 0 / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.4285, allocations: 4 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4285, allocations: 1.406 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4286, allocations: 33.02 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.4292, allocations: 405.1 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.4295, allocations: 49.16 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.4295, allocations: 20.72 kB / 0.5362 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.4296, allocations: 5.094 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.4296, allocations: 31.59 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4296, allocations: 0 / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006666/0.4303, allocations: 241.2 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4303, allocations: 60.44 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4314, allocations: 0.8756 MB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4314, allocations: 29.7 kB / 0.5374 GB, free: 8.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.4316, allocations: 229.1 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.4317, allocations: 15.02 kB / 0.5376 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.4317, allocations: 18.16 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4319, allocations: 364.6 kB / 0.538 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.432, allocations: 20.08 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.4321, allocations: 23.55 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.4322, allocations: 56.03 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4322, allocations: 0 / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002295/0.4325, allocations: 123.1 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4325, allocations: 5.562 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4325, allocations: 5.375 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4325, allocations: 4 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.4326, allocations: 13.3 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4326, allocations: 1.125 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.4327, allocations: 11.27 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4327, allocations: 1.219 kB / 0.5382 GB, free: 7.75 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 (5): * Single equations (assignments): 5 * 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.0002172/0.4329, allocations: 211.1 kB / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.433, allocations: 46.33 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.4333, allocations: 148 kB / 0.5386 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4333, allocations: 3.984 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4333, allocations: 1.375 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4333, allocations: 3.938 kB / 0.5386 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.4339, allocations: 468.6 kB / 0.5391 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.434, allocations: 1.312 kB / 0.5391 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.434, allocations: 20.55 kB / 0.5391 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.434, allocations: 5.125 kB / 0.5391 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4341, allocations: 9.031 kB / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4341, allocations: 0 / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4341, allocations: 1.094 kB / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.4343, allocations: 218 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.4344, allocations: 110.5 kB / 0.5394 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.4345, allocations: 13.08 kB / 0.5394 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.4346, allocations: 11.5 kB / 0.5394 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.4346, allocations: 2.031 kB / 0.5394 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.4346, allocations: 5.281 kB / 0.5394 GB, free: 6.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007581/0.4354, allocations: 0.6604 MB / 0.5401 GB, free: 6.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4354, allocations: 0 / 0.5401 GB, free: 6.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4357, allocations: 35.59 kB / 0.5401 GB, free: 6.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00132/0.437, allocations: 1.051 MB / 0.5411 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.4372, allocations: 50.73 kB / 0.5412 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4372, allocations: 0 / 0.5412 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.4373, allocations: 33.98 kB / 0.5412 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.4378, allocations: 35.2 kB / 0.5413 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.4421, allocations: 3.275 MB / 0.5445 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.4428, allocations: 0.8298 MB / 0.5453 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.4429, allocations: 20.64 kB / 0.5453 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.4431, allocations: 119.4 kB / 0.5454 GB, free: 2.199 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4431, allocations: 0 / 0.5454 GB, free: 2.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4704, allocations: 6.106 MB / 0.5514 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.562, allocations: 0.8906 kB / 0.5514 GB, free: 12.16 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_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_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches