Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001649, allocations: 200.6 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 76.2 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4168, allocations: 62.45 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.004787/0.4217, allocations: 1.618 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4231, allocations: 0.5335 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4232, allocations: 0 / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.4236, allocations: 78.83 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.424, allocations: 102.8 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.4244, allocations: 90.31 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.4246, allocations: 78.38 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4248, allocations: 20.23 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.4249, allocations: 31.05 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.425, allocations: 55.12 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4251, allocations: 4.125 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.4252, allocations: 48.84 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.4252, allocations: 14.81 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.4253, allocations: 33.23 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.4255, allocations: 104.4 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4255, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4256, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.4256, allocations: 0 / 0.5333 GB, free: 11.36 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.000586/0.4262, allocations: 419.2 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4262, allocations: 12.97 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.4262, allocations: 32.09 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.4263, allocations: 13.5 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.4265, allocations: 203.3 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.4265, allocations: 1.625 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.4266, allocations: 6.594 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4267, allocations: 59.19 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4268, allocations: 4 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4268, allocations: 0 / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4268, allocations: 1.656 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4269, allocations: 26.42 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.4273, allocations: 299.1 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4274, allocations: 42.27 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.4275, allocations: 20.89 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4275, allocations: 1.219 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4276, allocations: 34.5 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.4276, allocations: 1.281 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009953/0.4286, allocations: 229.6 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4287, allocations: 52.62 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4289, allocations: 208 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.429, allocations: 25.7 kB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.4291, allocations: 109.7 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.4291, allocations: 27.22 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.4292, allocations: 19.31 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4294, allocations: 330 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4296, allocations: 26 kB / 0.5354 GB, free: 9.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.4297, allocations: 22.58 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.4298, allocations: 59.77 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4298, allocations: 0 / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002316/0.4301, allocations: 107.6 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4301, allocations: 5.781 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4301, allocations: 4.312 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4301, allocations: 1.469 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4302, allocations: 16.7 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4303, allocations: 5.312 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.4303, allocations: 6.734 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.4303, allocations: 10.73 kB / 0.5356 GB, free: 9.176 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.0001158/0.4305, allocations: 123.5 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.4305, allocations: 19.97 kB / 0.5357 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.4308, allocations: 112.4 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4308, allocations: 5.359 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4308, allocations: 3.938 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4308, allocations: 0 / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.4315, allocations: 406.6 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4315, allocations: 0 / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.4316, allocations: 21.67 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4316, allocations: 1.797 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4316, allocations: 1.375 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4316, allocations: 5.312 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4316, allocations: 0 / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.4319, allocations: 208.1 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.4319, allocations: 88.16 kB / 0.5366 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.4319, allocations: 5.047 kB / 0.5366 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.432, allocations: 12.08 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.4321, allocations: 3.438 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4321, allocations: 2.094 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.4322, allocations: 158.6 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4322, allocations: 0 / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4325, allocations: 22.06 kB / 0.5368 GB, free: 8.141 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.001562/0.4341, allocations: 1.091 MB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.4343, allocations: 73.98 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4343, allocations: 0 / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.4344, allocations: 38.05 kB / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.4348, allocations: 18.64 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.4368, allocations: 1.638 MB / 0.5395 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4371, allocations: 0.7092 MB / 0.5402 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.4372, allocations: 8.141 kB / 0.5402 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.4372, allocations: 33.83 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4372, allocations: 0 / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.4591, allocations: 3.036 MB / 0.5432 GB, free: 3.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.2, allocations: 7.266 kB / 0.5432 GB, free: 3.383 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches