Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001734, allocations: 104 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.56 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003675/0.1058, allocations: 1.856 MB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1076, allocations: 0.9201 MB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1078, allocations: 4 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.1083, allocations: 251.2 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1087, allocations: 199.3 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1102, allocations: 0.6341 MB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.1106, allocations: 275.2 kB / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1109, allocations: 52.31 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1111, allocations: 127.6 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1113, allocations: 183.4 kB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1114, allocations: 8 kB / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1115, allocations: 51.97 kB / 473.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1117, allocations: 91.62 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1118, allocations: 111.1 kB / 474.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1122, allocations: 271 kB / 474.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1122, allocations: 3.984 kB / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1122, allocations: 4 kB / 474.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1122, allocations: 0 / 474.4 MB, free: 9.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008471/0.1131, allocations: 0.6301 MB / 475 MB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1131, allocations: 8.031 kB / 475 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.1132, allocations: 42.73 kB / 475 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.1133, allocations: 36.47 kB / 475.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1136, allocations: 322.1 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1136, allocations: 4.375 kB / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1137, allocations: 8.375 kB / 475.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.1139, allocations: 101.6 kB / 475.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1139, allocations: 0 / 475.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1139, allocations: 0 / 475.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.1139, allocations: 4 kB / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1141, allocations: 63.95 kB / 475.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.1147, allocations: 468.4 kB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1149, allocations: 82.47 kB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1149, allocations: 32.97 kB / 476.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.115, allocations: 7.969 kB / 476.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.115, allocations: 34.56 kB / 476.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.115, allocations: 0 / 476.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003707/0.1154, allocations: 153.2 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1154, allocations: 55.34 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.116, allocations: 0.5526 MB / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.116, allocations: 25.7 kB / 477 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1162, allocations: 204.1 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1162, allocations: 23.53 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1163, allocations: 25.7 kB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1164, allocations: 354.8 kB / 477.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.1165, allocations: 23.98 kB / 477.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.1165, allocations: 23.98 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1167, allocations: 68.81 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1167, allocations: 0 / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000211/0.1169, allocations: 117.3 kB / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1169, allocations: 4 kB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1169, allocations: 0 / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1169, allocations: 7.938 kB / 477.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.117, allocations: 19.92 kB / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.117, allocations: 0 / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.1171, allocations: 11.91 kB / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1171, allocations: 0 / 477.8 MB, free: 5.531 MB / 350.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 (6): * Single equations (assignments): 6 * 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.0001295/0.1173, allocations: 173.7 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.1173, allocations: 35.53 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1176, allocations: 157.4 kB / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1176, allocations: 3.938 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1176, allocations: 64 / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1177, allocations: 4 kB / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.1179, allocations: 285.5 kB / 478.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1179, allocations: 3.938 kB / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.118, allocations: 12 kB / 478.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.118, allocations: 0 / 478.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.118, allocations: 0 / 478.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.118, allocations: 11.92 kB / 478.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.118, allocations: 0 / 478.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1183, allocations: 223 kB / 478.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.1184, allocations: 120.6 kB / 478.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1184, allocations: 0 / 478.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.1185, allocations: 7.938 kB / 478.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1185, allocations: 7.984 kB / 478.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1185, allocations: 3.938 kB / 478.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004058/0.119, allocations: 423.1 kB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.119, allocations: 3.938 kB / 479.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1193, allocations: 32 kB / 479.3 MB, free: 3.953 MB / 350.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 (6): * Single equations (assignments): 6 * 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.001767/0.121, allocations: 1.251 MB / 480.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1212, allocations: 63.91 kB / 480.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1213, allocations: 3.938 kB / 480.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.1213, allocations: 35.97 kB / 480.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.1219, allocations: 78.11 kB / 480.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1251, allocations: 2.848 MB / 483.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1255, allocations: 0.806 MB / 484.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1256, allocations: 53.47 kB / 484.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1258, allocations: 107.4 kB / 484.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1258, allocations: 0 / 484.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1509, allocations: 6.487 MB / 491 MB, free: 8.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.812, allocations: 14.69 kB / 491 MB, free: 8.434 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches