Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001288/0.001288, allocations: 109.6 kB / 16.41 MB, free: 6.445 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.00127/0.00127, allocations: 185.4 kB / 17.34 MB, free: 5.738 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2123/0.2123, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 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.001983/0.001983, allocations: 71.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.135, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003758/0.1389, allocations: 1.608 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1407, allocations: 0.9769 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.1408, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1411, allocations: 15.86 kB / 0.49 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1413, allocations: 47.77 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1417, allocations: 155.7 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1419, allocations: 67.77 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1421, allocations: 31.95 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.1422, allocations: 23.91 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1423, allocations: 27.86 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1423, allocations: 4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1425, allocations: 51.97 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.1426, allocations: 23.86 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.1426, allocations: 31.8 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1429, allocations: 99.62 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1429, allocations: 0 / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1429, allocations: 4 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.1429, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.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.0006623/0.1436, allocations: 402.9 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1436, allocations: 11.89 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.1437, allocations: 34.75 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1437, allocations: 4.891 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.144, allocations: 196.2 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.144, allocations: 4.375 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.144, allocations: 8.375 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1442, allocations: 79.31 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1442, allocations: 0 / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1442, allocations: 0 / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1443, allocations: 3.984 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1444, allocations: 39.97 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.1449, allocations: 308.7 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.145, allocations: 46.55 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.1451, allocations: 24.94 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1452, allocations: 4 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1452, allocations: 38.56 kB / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1452, allocations: 0 / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008401/0.1461, allocations: 217.3 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.1462, allocations: 81.11 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1463, allocations: 156.3 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1464, allocations: 25.7 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.1465, allocations: 104 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.1465, allocations: 31.8 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1466, allocations: 21.7 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1467, allocations: 318.8 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1469, allocations: 35.95 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.147, allocations: 57.69 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1472, allocations: 84.8 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1473, allocations: 0 / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003085/0.1476, allocations: 121.6 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1476, allocations: 8 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1476, allocations: 0 / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1476, allocations: 0 / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1478, allocations: 27.92 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1478, allocations: 3.938 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.1478, allocations: 7.984 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1479, allocations: 4 kB / 0.4929 GB, free: 6.414 MB / 382.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 (7): * Single equations (assignments): 7 * 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.000115/0.148, allocations: 125.8 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.148, allocations: 7.953 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.1484, allocations: 138.3 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1484, allocations: 0 / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1484, allocations: 11.92 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1484, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.149, allocations: 402.9 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1491, allocations: 4 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/0.1492, allocations: 23.98 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1492, allocations: 4.219 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1492, allocations: 4 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1492, allocations: 3.984 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1492, allocations: 3.938 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.1496, allocations: 219.5 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.1496, allocations: 89.03 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1497, allocations: 7.938 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.1498, allocations: 15.92 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1498, allocations: 7.984 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1498, allocations: 4 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1499, allocations: 111.3 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.15, allocations: 0 / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1502, allocations: 23.92 kB / 0.4941 GB, free: 5.121 MB / 382.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 (7): * Single equations (assignments): 7 * 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.002151/0.1524, allocations: 1.103 MB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1527, allocations: 83.94 kB / 0.4952 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1527, allocations: 4 kB / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1529, allocations: 51.89 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1533, allocations: 15.94 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.1554, allocations: 1.589 MB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1558, allocations: 0.7003 MB / 0.4975 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.941e-05/0.1559, allocations: 32.56 kB / 0.4975 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.156, allocations: 27.42 kB / 0.4976 GB, free: 1.434 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.156, allocations: 0 / 0.4976 GB, free: 1.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1831, allocations: 3.124 MB / 0.5006 GB, free: 14.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.008, allocations: 3.938 kB / 0.5006 GB, free: 14.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_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_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches