Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001257/0.001257, allocations: 102.2 kB / 16.27 MB, free: 6.41 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.001158/0.001159, allocations: 188.6 kB / 17.19 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2493/0.2493, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 67.73 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1264, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003533/0.13, allocations: 1.951 MB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1314, allocations: 0.7641 MB / 443.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1316, allocations: 0 / 443.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.132, allocations: 267.2 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.1324, allocations: 199.2 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1335, allocations: 0.5975 MB / 444.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.1339, allocations: 287.3 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1341, allocations: 84.69 kB / 444.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1343, allocations: 131.5 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1345, allocations: 195.3 kB / 445.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1345, allocations: 8 kB / 445.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1347, allocations: 67.97 kB / 445.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1348, allocations: 99.66 kB / 445.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.1349, allocations: 119 kB / 445.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.1353, allocations: 318.8 kB / 445.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1353, allocations: 4 kB / 445.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1353, allocations: 0 / 445.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1353, allocations: 0 / 445.7 MB, free: 1.727 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007156/0.136, allocations: 0.6573 MB / 446.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1361, allocations: 11.89 kB / 446.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.1361, allocations: 42.75 kB / 446.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.1362, allocations: 44.47 kB / 446.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1365, allocations: 326.1 kB / 446.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1366, allocations: 12.38 kB / 446.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1366, allocations: 12.38 kB / 446.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1368, allocations: 134.4 kB / 446.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1369, allocations: 0 / 446.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1369, allocations: 4 kB / 446.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1369, allocations: 4 kB / 446.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1371, allocations: 87.88 kB / 447 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.1377, allocations: 0.5274 MB / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.138, allocations: 106.5 kB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.1381, allocations: 40.83 kB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1381, allocations: 4 kB / 447.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1381, allocations: 46.44 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.1381, allocations: 0 / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001033/0.1392, allocations: 436.4 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1392, allocations: 55.41 kB / 448.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.1398, allocations: 0.5526 MB / 448.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1399, allocations: 29.7 kB / 448.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.14, allocations: 208.3 kB / 449 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.1401, allocations: 51.25 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.1401, allocations: 37.56 kB / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1403, allocations: 350.8 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1404, allocations: 67.95 kB / 449.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1406, allocations: 68.58 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1408, allocations: 167.7 kB / 449.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1408, allocations: 0 / 449.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003674/0.1412, allocations: 221 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1412, allocations: 8 kB / 449.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1413, allocations: 0 / 449.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1413, allocations: 0 / 449.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1414, allocations: 39.97 kB / 450 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1415, allocations: 0 / 450 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.1415, allocations: 11.94 kB / 450 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1416, allocations: 4 kB / 450 MB, free: 13.18 MB / 334.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 (17): * Single equations (assignments): 17 * 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.0001977/0.1418, allocations: 193.5 kB / 450.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1419, allocations: 43.44 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.1424, allocations: 276.3 kB / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1424, allocations: 4 kB / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1424, allocations: 0 / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1425, allocations: 0 / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.1433, allocations: 0.6778 MB / 451.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1434, allocations: 0 / 451.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1435, allocations: 35.92 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1435, allocations: 4 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1435, allocations: 7.938 kB / 451.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1435, allocations: 3.938 kB / 451.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1435, allocations: 3.984 kB / 451.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.1439, allocations: 334.1 kB / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.144, allocations: 112.6 kB / 451.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1441, allocations: 8 kB / 451.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.1442, allocations: 15.92 kB / 451.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1442, allocations: 7.984 kB / 451.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1442, allocations: 12 kB / 451.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000376/0.1446, allocations: 411.1 kB / 452.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1446, allocations: 0 / 452.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1449, allocations: 51.91 kB / 452.2 MB, free: 10.91 MB / 334.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 (17): * Single equations (assignments): 17 * 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.002195/0.1471, allocations: 1.471 MB / 453.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.1475, allocations: 167.8 kB / 453.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.1475, allocations: 0 / 453.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1477, allocations: 104 kB / 453.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.1483, allocations: 83.34 kB / 454 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.152, allocations: 3.212 MB / 457.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1524, allocations: 0.8143 MB / 458 MB, free: 5.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.1526, allocations: 58.23 kB / 458.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1527, allocations: 123.4 kB / 458.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1528, allocations: 0 / 458.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.1795, allocations: 7.36 MB / 465.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/7.632, allocations: 8 kB / 465.5 MB, free: 13.42 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches