Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001056/0.001056, allocations: 101.4 kB / 16.27 MB, free: 5.949 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.001006/0.001006, allocations: 187 kB / 17.19 MB, free: 5.59 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.398/1.398, 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.2334/0.2334, allocations: 43.51 MB / 313.9 MB, free: 0.5352 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.001557/0.001557, allocations: 70.2 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1306, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002752/0.1333, allocations: 1.589 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.1339, allocations: 355.4 kB / 442.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.134, allocations: 0 / 442.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.1345, allocations: 459.1 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.1348, allocations: 251.4 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1351, allocations: 155.3 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1353, allocations: 163.7 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1354, allocations: 12.19 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.1355, allocations: 115.8 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1357, allocations: 211.6 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1357, allocations: 4 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.1358, allocations: 31.98 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.1359, allocations: 83.69 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.136, allocations: 103 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1362, allocations: 251 kB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1363, allocations: 0 / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1363, allocations: 4 kB / 444.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1363, 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.0005697/0.1368, allocations: 0.6375 MB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1369, allocations: 15.89 kB / 445 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1369, allocations: 42.62 kB / 445.1 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.137, allocations: 44.38 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1372, allocations: 300.1 kB / 445.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1372, allocations: 4.375 kB / 445.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1373, allocations: 4.125 kB / 445.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1374, allocations: 57.69 kB / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1374, allocations: 0 / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1374, allocations: 7.984 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1374, allocations: 0 / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.1375, allocations: 27.92 kB / 445.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.138, allocations: 392.6 kB / 445.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1382, allocations: 54.55 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.1383, allocations: 16.86 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1383, allocations: 4 kB / 446 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1383, allocations: 34.5 kB / 446 MB, free: 1.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1383, allocations: 3.938 kB / 446 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006338/0.139, allocations: 236 kB / 446.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.139, allocations: 51.41 kB / 446.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.1396, allocations: 0.8652 MB / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1396, allocations: 29.7 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.1398, allocations: 220.1 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1399, allocations: 23.64 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1399, allocations: 17.72 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1401, allocations: 370.8 kB / 447.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.1401, allocations: 19.98 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.1402, allocations: 19.98 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1404, allocations: 52.83 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1404, allocations: 0 / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002314/0.1406, allocations: 125.1 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1406, allocations: 4 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1406, allocations: 0 / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1407, allocations: 0 / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.1407, allocations: 15.98 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1407, allocations: 3.938 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.1408, allocations: 7.938 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1408, allocations: 4 kB / 448 MB, free: 15.14 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.0001971/0.141, allocations: 217.7 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.1411, allocations: 43.44 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.1414, allocations: 141 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1414, allocations: 4.312 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1414, allocations: 3.938 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1414, allocations: 0 / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.142, allocations: 474.8 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.142, allocations: 0 / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.1421, allocations: 12 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1421, allocations: 7.922 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1421, allocations: 4 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1421, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1421, allocations: 7.922 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1424, allocations: 219 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.1425, allocations: 112.5 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1425, allocations: 7.938 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.1426, allocations: 3.984 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1426, allocations: 4 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1427, allocations: 0 / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008215/0.1435, allocations: 0.6589 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1435, allocations: 0 / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1438, allocations: 23.94 kB / 449.9 MB, free: 13.12 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.001663/0.1455, allocations: 1.057 MB / 451 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1458, allocations: 55.97 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1458, allocations: 0 / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.1459, allocations: 35.91 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.0005959/0.1465, allocations: 20.34 kB / 451.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.1507, allocations: 3.275 MB / 454.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.1512, allocations: 0.8308 MB / 455.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.898e-05/0.1512, allocations: 19.97 kB / 455.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1514, allocations: 107.4 kB / 455.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1514, allocations: 0 / 455.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.1789, allocations: 5.895 MB / 461.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.747, allocations: 11.33 kB / 461.2 MB, free: 1.73 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_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_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches