Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 199.9 kB / 18.73 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.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4211, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003699/0.4249, allocations: 1.647 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4262, allocations: 0.5479 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.4263, allocations: 5.344 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.427, allocations: 460 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.4275, allocations: 281.1 kB / 0.5334 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.4279, allocations: 133.4 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.4282, allocations: 174.4 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4283, allocations: 12.25 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.4284, allocations: 110 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.4287, allocations: 218.1 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.4288, allocations: 3.5 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.4289, allocations: 41.08 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.429, allocations: 81.72 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.4291, allocations: 103.4 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.4295, allocations: 261.5 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4295, allocations: 5.281 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4295, allocations: 0 / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4295, allocations: 0 / 0.5345 GB, free: 10.76 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.0008341/0.4303, allocations: 0.6669 MB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.4304, allocations: 10.06 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.4305, allocations: 31.72 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.4306, allocations: 47.52 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.431, allocations: 303.5 kB / 0.5355 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.431, allocations: 5.688 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.431, allocations: 3 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.4312, allocations: 57.78 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4313, allocations: 7.984 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4313, allocations: 4 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.4313, allocations: 1.344 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4314, allocations: 25.98 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.4321, allocations: 392.4 kB / 0.536 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.4324, allocations: 43.94 kB / 0.536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.4324, allocations: 19.34 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.4325, allocations: 4.938 kB / 0.5361 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.4325, allocations: 31.66 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4325, allocations: 0 / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007414/0.4333, allocations: 232.5 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4333, allocations: 56.91 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4344, allocations: 0.8724 MB / 0.5372 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.4344, allocations: 29.7 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.4346, allocations: 225.7 kB / 0.5375 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4346, allocations: 19.16 kB / 0.5375 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.4347, allocations: 21.11 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.4349, allocations: 360.2 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.435, allocations: 18.42 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.4351, allocations: 19.95 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.4352, allocations: 47.92 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4352, allocations: 1.156 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002307/0.4355, allocations: 123.8 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4355, allocations: 5.125 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4355, allocations: 0 / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4355, allocations: 8.906 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.4356, allocations: 14.36 kB / 0.5381 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4357, allocations: 3.938 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.4357, allocations: 15.23 kB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4357, allocations: 2 kB / 0.5381 GB, free: 7.836 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.0002262/0.436, allocations: 205.8 kB / 0.5383 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.436, allocations: 42.19 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.4364, allocations: 143.3 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4364, allocations: 1.125 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4364, allocations: 1.156 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.4364, allocations: 3.938 kB / 0.5385 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/0.4371, allocations: 459.2 kB / 0.5389 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4371, allocations: 1.156 kB / 0.5389 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.4372, allocations: 12.77 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4372, allocations: 5.219 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4372, allocations: 9 kB / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4372, allocations: 0 / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4372, allocations: 1 kB / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.4375, allocations: 211.1 kB / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4377, allocations: 113.9 kB / 0.5392 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4377, allocations: 5.531 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.4378, allocations: 15.14 kB / 0.5393 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.4379, allocations: 6.125 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4379, allocations: 2.281 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009462/0.4388, allocations: 0.6593 MB / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4388, allocations: 0 / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.4391, allocations: 21.59 kB / 0.5399 GB, free: 6.512 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.002002/0.4412, allocations: 1.053 MB / 0.541 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.4415, allocations: 44.38 kB / 0.541 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4415, allocations: 1.062 kB / 0.541 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4416, allocations: 28.17 kB / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.4422, allocations: 31.98 kB / 0.5411 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.447, allocations: 3.248 MB / 0.5442 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.4475, allocations: 0.8259 MB / 0.545 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.4476, allocations: 15.98 kB / 0.5451 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.4478, allocations: 103.4 kB / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4478, allocations: 0 / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4726, allocations: 6.039 MB / 0.5511 GB, free: 12.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.667, allocations: 4.141 kB / 0.5511 GB, free: 12.5 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_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_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches