Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 117.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.002177/0.002177, allocations: 204.6 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.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4236, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003176/0.4268, allocations: 1.645 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.4277, allocations: 0.6884 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.4277, allocations: 0 / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.428, allocations: 36.39 kB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.4282, allocations: 39.86 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.88e-06/0.4282, allocations: 0 / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.4284, allocations: 33.22 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.4284, allocations: 3.75 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.4285, allocations: 11.48 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.4285, allocations: 18.95 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4285, allocations: 0 / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.4286, allocations: 15 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.4286, allocations: 17.02 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4287, allocations: 19.94 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.4288, allocations: 68.14 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4288, allocations: 4 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4289, allocations: 0 / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.4289, allocations: 5.312 kB / 0.5331 GB, free: 11.44 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005197/0.4294, allocations: 359.6 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4294, allocations: 13.62 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.4295, allocations: 46.84 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.4295, allocations: 6.266 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.4297, allocations: 176.3 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4297, allocations: 1.75 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4297, allocations: 1.75 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4299, allocations: 128.4 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4299, allocations: 3.938 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4299, allocations: 5.359 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.43, allocations: 23.11 kB / 0.5338 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.4301, allocations: 43.64 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.4308, allocations: 0.8814 MB / 0.5347 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.4309, allocations: 178.3 kB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.431, allocations: 85.45 kB / 0.535 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.431, allocations: 79.28 kB / 0.535 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4311, allocations: 107.1 kB / 0.5351 GB, free: 9.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4311, allocations: 0 / 0.5351 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.798e-05/0.4312, allocations: 37.83 kB / 0.5352 GB, free: 9.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.4312, allocations: 130.6 kB / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4315, allocations: 186.6 kB / 0.5355 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4315, allocations: 33.64 kB / 0.5355 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4316, allocations: 155.7 kB / 0.5357 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.4317, allocations: 0.8125 kB / 0.5357 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.4317, allocations: 44.69 kB / 0.5357 GB, free: 8.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4318, allocations: 318.2 kB / 0.536 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.4319, allocations: 34.12 kB / 0.536 GB, free: 8.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.432, allocations: 157.2 kB / 0.5362 GB, free: 8.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.4323, allocations: 206.8 kB / 0.5364 GB, free: 7.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4323, allocations: 0.9375 kB / 0.5364 GB, free: 7.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003077/0.4326, allocations: 201.4 kB / 0.5366 GB, free: 7.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4326, allocations: 10.03 kB / 0.5366 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4326, allocations: 5.469 kB / 0.5366 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4326, allocations: 16.95 kB / 0.5366 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4328, allocations: 33.45 kB / 0.5366 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4328, allocations: 9.125 kB / 0.5366 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.4329, allocations: 28.83 kB / 0.5367 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4329, allocations: 9.156 kB / 0.5367 GB, free: 7.836 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001196/0.433, allocations: 218.1 kB / 0.5369 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.4331, allocations: 117.5 kB / 0.537 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.4332, allocations: 121.2 kB / 0.5371 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-05/0.4332, allocations: 177.6 kB / 0.5373 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.478e-05/0.4333, allocations: 185.7 kB / 0.5375 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.537e-05/0.4334, allocations: 185.6 kB / 0.5376 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.4336, allocations: 424.1 kB / 0.538 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/0.4337, allocations: 106.3 kB / 0.5381 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.4337, allocations: 102.4 kB / 0.5382 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.4339, allocations: 180.2 kB / 0.5384 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.434, allocations: 185.6 kB / 0.5386 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.039e-05/0.434, allocations: 177.6 kB / 0.5388 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.663e-05/0.4341, allocations: 181.6 kB / 0.5389 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.4343, allocations: 317.1 kB / 0.5392 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4344, allocations: 192.8 kB / 0.5394 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.4345, allocations: 189.6 kB / 0.5396 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.4346, allocations: 106.3 kB / 0.5397 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4348, allocations: 177.6 kB / 0.5399 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4348, allocations: 104.9 kB / 0.54 GB, free: 4.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.435, allocations: 130.4 kB / 0.5401 GB, free: 4.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.435, allocations: 0 / 0.5401 GB, free: 4.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.4353, allocations: 15 kB / 0.5401 GB, free: 4.191 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 (0): * Single equations (assignments): 0 * 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.0008005/0.4361, allocations: 0.9022 MB / 0.541 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4363, allocations: 79.16 kB / 0.5411 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4363, allocations: 0 / 0.5411 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.4363, allocations: 9.25 kB / 0.5411 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4367, allocations: 458.4 kB / 0.5415 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.4382, allocations: 1.883 MB / 0.5433 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4385, allocations: 0.6956 MB / 0.544 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.4387, allocations: 50.86 kB / 0.5441 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.4388, allocations: 30.02 kB / 0.5441 GB, free: 248 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4388, allocations: 0 / 0.5441 GB, free: 248 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.4614, allocations: 2.106 MB / 0.5462 GB, free: 15.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/8.013, allocations: 10.48 kB / 0.5462 GB, free: 15.05 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_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_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches