Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001429/0.001429, allocations: 104.2 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.001463/0.001463, allocations: 191.9 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.366/1.366, 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.2233/0.2233, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.08 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003834/0.1346, allocations: 1.603 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1357, allocations: 451.1 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.1358, allocations: 0 / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1364, allocations: 451.2 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1368, allocations: 251.4 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.1373, allocations: 179.1 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1376, allocations: 159.7 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1377, allocations: 24.16 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1379, allocations: 99.8 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.1382, allocations: 219.6 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1382, allocations: 4 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1384, allocations: 35.97 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1385, allocations: 87.62 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1386, allocations: 99 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.139, allocations: 255.2 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.139, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.139, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.139, allocations: 0 / 473.2 MB, free: 10.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009713/0.14, allocations: 0.6443 MB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.14, allocations: 11.97 kB / 473.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1401, allocations: 38.75 kB / 473.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.1402, allocations: 44.39 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1405, allocations: 300.1 kB / 474.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1405, allocations: 384 / 474.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1406, allocations: 8.125 kB / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1407, allocations: 53.67 kB / 474.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1408, allocations: 0 / 474.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1408, allocations: 12 kB / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1408, allocations: 0 / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1409, allocations: 31.91 kB / 474.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.1415, allocations: 396.6 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.1417, allocations: 46.56 kB / 474.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.1418, allocations: 16.94 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1418, allocations: 11.94 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1419, allocations: 30.56 kB / 474.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1419, allocations: 0 / 474.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006674/0.1425, allocations: 228 kB / 475.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1426, allocations: 59.39 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.1434, allocations: 0.8652 MB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1434, allocations: 29.7 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1436, allocations: 220 kB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1437, allocations: 23.81 kB / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1437, allocations: 17.7 kB / 476.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1439, allocations: 358.8 kB / 476.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.144, allocations: 23.98 kB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.144, allocations: 24.17 kB / 476.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1442, allocations: 56.81 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1442, allocations: 0 / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000224/0.1444, allocations: 125 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1444, allocations: 4 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1445, allocations: 0 / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1445, allocations: 4 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.1445, allocations: 11.98 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1446, allocations: 7.938 kB / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.1446, allocations: 11.92 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1446, allocations: 3.938 kB / 476.9 MB, free: 6.477 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 (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.0001883/0.1448, allocations: 209.8 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.1449, allocations: 39.53 kB / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.1452, allocations: 149 kB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1452, allocations: 0 / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1453, allocations: 3.938 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1453, allocations: 0 / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.1459, allocations: 470.4 kB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1459, allocations: 0 / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.146, allocations: 11.98 kB / 477.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.146, allocations: 7.938 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.146, allocations: 8.188 kB / 477.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.146, allocations: 7.938 kB / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.146, allocations: 0 / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1463, allocations: 211 kB / 478 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.1464, allocations: 116.8 kB / 478.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1464, allocations: 3.938 kB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.1465, allocations: 8 kB / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.1466, allocations: 11.97 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1466, allocations: 0 / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006175/0.1472, allocations: 0.655 MB / 478.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1472, allocations: 0 / 478.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1475, allocations: 16 kB / 478.8 MB, free: 4.465 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 (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.001527/0.149, allocations: 1.058 MB / 479.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1493, allocations: 55.95 kB / 479.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1493, allocations: 0 / 479.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.1494, allocations: 27.92 kB / 479.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1499, allocations: 33.95 kB / 480 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.1539, allocations: 3.283 MB / 483.3 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.1544, allocations: 0.8221 MB / 484.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.1545, allocations: 15.98 kB / 484.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1547, allocations: 115.4 kB / 484.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1547, allocations: 0 / 484.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.1833, allocations: 5.885 MB / 490.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.694, allocations: 13.86 kB / 490.1 MB, free: 9.254 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches