Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001543, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 82.8 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003376/0.1151, allocations: 1.623 MB / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1162, allocations: 0.5416 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.1163, allocations: 0 / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.1169, allocations: 455.1 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.1174, allocations: 287.3 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1178, allocations: 139 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.118, allocations: 159.7 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1182, allocations: 15.97 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1183, allocations: 103.8 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1185, allocations: 211.6 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1186, allocations: 0 / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.1187, allocations: 35.91 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1188, allocations: 83.69 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.1189, allocations: 103 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.1192, allocations: 251 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1192, allocations: 0 / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1192, allocations: 0 / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1192, allocations: 0 / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000729/0.1199, allocations: 0.6455 MB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.12, allocations: 8.031 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.12, allocations: 34.75 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.1201, allocations: 40.38 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1204, allocations: 308.1 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1204, allocations: 384 / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1204, allocations: 4.375 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1206, allocations: 65.59 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1206, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1206, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1206, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1207, allocations: 31.97 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1212, allocations: 380.8 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1213, allocations: 42.56 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.1214, allocations: 20.94 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1214, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1214, allocations: 34.56 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1214, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003284/0.1218, allocations: 133 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1218, allocations: 51.41 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.1226, allocations: 0.8698 MB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1226, allocations: 25.7 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1228, allocations: 216 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1228, allocations: 7.812 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1229, allocations: 21.7 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.123, allocations: 362.7 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.1231, allocations: 23.98 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.1231, allocations: 11.98 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1233, allocations: 40.83 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1233, allocations: 4 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001897/0.1235, allocations: 101.1 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1235, allocations: 6.5 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1235, allocations: 7.984 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1235, allocations: 0 / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.1236, allocations: 11.94 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1236, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.1237, allocations: 15.89 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1237, allocations: 4 kB / 487.6 MB, free: 13.46 MB / 366.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 (3): * Single equations (assignments): 3 * 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.0001661/0.1239, allocations: 205.7 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.1239, allocations: 39.53 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1242, allocations: 129 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1242, allocations: 0 / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1242, allocations: 0 / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1242, allocations: 384 / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1245, allocations: 293.5 kB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1245, allocations: 0 / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.1245, allocations: 8 kB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1245, allocations: 0 / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1246, allocations: 3.984 kB / 488.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1246, allocations: 7.984 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1246, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1248, allocations: 202.9 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.1249, allocations: 116.5 kB / 488.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1249, allocations: 0 / 488.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.125, allocations: 4 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.125, allocations: 8 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.1251, allocations: 7.922 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.1257, allocations: 0.655 MB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1257, allocations: 0 / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1259, allocations: 16 kB / 489.3 MB, free: 11.68 MB / 366.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 (3): * Single equations (assignments): 3 * 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.001137/0.1271, allocations: 0.9971 MB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.1272, allocations: 35.91 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1273, allocations: 4 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.1273, allocations: 19.98 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1277, allocations: 29.61 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.131, allocations: 3.201 MB / 493.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1314, allocations: 0.8221 MB / 494.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1314, allocations: 12.06 kB / 494.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1316, allocations: 115.4 kB / 494.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.064e-06/0.1316, allocations: 96 / 494.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1522, allocations: 5.617 MB / 0.4884 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.229, allocations: 1.078 kB / 0.4884 GB, free: 0.8516 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_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_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches