Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001599/0.001599, allocations: 107.4 kB / 16.27 MB, free: 5.977 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.001817/0.001817, allocations: 191.2 kB / 17.19 MB, free: 5.621 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2202/0.2202, 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.001561/0.001561, allocations: 70.31 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002564/0.1426, allocations: 1.597 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005263/0.1431, allocations: 355.5 kB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.1432, allocations: 0 / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.1437, allocations: 447.2 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.144, allocations: 255.4 kB / 443.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1443, allocations: 151 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1445, allocations: 167.6 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1446, allocations: 20.19 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.1447, allocations: 103.8 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1449, allocations: 211.6 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1449, allocations: 4 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.145, allocations: 35.94 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.1451, allocations: 79.69 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.1452, allocations: 111 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1454, allocations: 247 kB / 444.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1454, allocations: 0 / 444.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1454, allocations: 0 / 444.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1454, allocations: 0 / 444.4 MB, free: 3.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000617/0.1461, allocations: 0.6414 MB / 445 MB, free: 2.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1461, allocations: 11.89 kB / 445 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.1461, allocations: 38.69 kB / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1462, allocations: 40.38 kB / 445.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1464, allocations: 316.1 kB / 445.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1464, allocations: 384 / 445.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1465, allocations: 12.06 kB / 445.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1466, allocations: 49.69 kB / 445.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1467, allocations: 0 / 445.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1467, allocations: 4 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1467, allocations: 0 / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.1468, allocations: 31.97 kB / 445.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.1472, allocations: 408.6 kB / 445.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1474, allocations: 42.56 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.1474, allocations: 16.94 kB / 446 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1475, allocations: 4 kB / 446 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.1475, allocations: 34.56 kB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1475, allocations: 0 / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005675/0.1481, allocations: 232 kB / 446.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.1481, allocations: 51.41 kB / 446.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.1487, allocations: 0.8691 MB / 447.1 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1487, allocations: 25.7 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1489, allocations: 220.1 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.149, allocations: 27.64 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.149, allocations: 21.72 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1492, allocations: 362.7 kB / 447.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.1493, allocations: 23.97 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.1494, allocations: 23.98 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1496, allocations: 48.83 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1496, allocations: 4 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002198/0.1498, allocations: 117.5 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1498, allocations: 7.984 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1498, allocations: 3.984 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1499, allocations: 0 / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.1499, allocations: 11.94 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.15, allocations: 7.938 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.15, allocations: 11.92 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.15, allocations: 7.984 kB / 448 MB, free: 15.13 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 (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.0002289/0.1503, allocations: 217.7 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1503, allocations: 43.44 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.1507, allocations: 137.4 kB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1507, allocations: 0 / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.1507, allocations: 3.938 kB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1507, allocations: 8 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.1513, allocations: 470.4 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1513, allocations: 0 / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.1514, allocations: 8 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.1514, allocations: 3.938 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1514, allocations: 7.938 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1514, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1514, allocations: 3.984 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1517, allocations: 222.9 kB / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.1518, allocations: 112.5 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1518, allocations: 3.938 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.1519, allocations: 4 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1519, allocations: 11.98 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.152, allocations: 0 / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.1525, allocations: 0.6589 MB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1525, allocations: 0 / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1528, allocations: 20 kB / 450 MB, free: 13.11 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 (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.001336/0.1541, allocations: 1.063 MB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1543, allocations: 47.97 kB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1543, allocations: 0 / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.1544, allocations: 27.98 kB / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1549, allocations: 40.14 kB / 451.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.1583, allocations: 3.267 MB / 454.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1588, allocations: 0.8297 MB / 455.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.1588, allocations: 11.98 kB / 455.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.159, allocations: 115.4 kB / 455.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.159, allocations: 0 / 455.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.1853, allocations: 5.897 MB / 461.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.679, allocations: 7.266 kB / 461.3 MB, free: 1.715 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches