Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.001536/0.001536, allocations: 104 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.001701/0.001701, allocations: 192.1 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.383/1.383, allocations: 222.9 MB / 242.3 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.2254/0.2254, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.61 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003442/0.1427, allocations: 1.58 MB / 470.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.1435, allocations: 411.2 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.1436, allocations: 0 / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1439, allocations: 131.6 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1442, allocations: 87.77 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1445, allocations: 107.7 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1446, allocations: 79.88 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1448, allocations: 28.14 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.1449, allocations: 47.83 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.145, allocations: 83.72 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.145, allocations: 4 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1451, allocations: 43.98 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.1452, allocations: 23.92 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1453, allocations: 39.67 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1455, allocations: 111.9 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1455, allocations: 3.938 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1455, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1455, allocations: 0 / 472.1 MB, free: 11.48 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.0005425/0.146, allocations: 429.7 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1461, allocations: 12.03 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.1461, allocations: 38.73 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1462, allocations: 8.844 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1464, allocations: 211.8 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1464, allocations: 384 / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1464, allocations: 12.11 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1466, allocations: 49.69 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1466, allocations: 4 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1466, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1466, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.917e-05/0.1467, allocations: 27.97 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1472, allocations: 320.6 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1473, allocations: 46.56 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1474, allocations: 20.94 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1474, allocations: 4 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1475, allocations: 30.56 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1475, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009333/0.1484, allocations: 248.9 kB / 473.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1485, allocations: 55.34 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.1487, allocations: 270.2 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1488, allocations: 25.7 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.1488, allocations: 116 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1489, allocations: 23.66 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1489, allocations: 25.7 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.149, allocations: 330.8 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.1491, allocations: 23.98 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.1492, allocations: 31.97 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1494, allocations: 72.89 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1494, allocations: 0 / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.1496, allocations: 121.4 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1497, allocations: 4 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1497, allocations: 0 / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1497, allocations: 4 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1498, allocations: 23.98 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1498, allocations: 3.938 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1499, allocations: 4 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1499, allocations: 4 kB / 474.7 MB, free: 8.703 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 (8): * Single equations (assignments): 8 * 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 9.671e-05/0.15, allocations: 137.8 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.15, allocations: 11.81 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.1503, allocations: 135.4 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1503, allocations: 4 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1503, allocations: 7.875 kB / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1503, allocations: 0 / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.1509, allocations: 431.5 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1509, allocations: 7.922 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.151, allocations: 15.98 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.151, allocations: 4 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.151, allocations: 4 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.151, allocations: 80 / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.151, allocations: 3.984 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1513, allocations: 224.2 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.1514, allocations: 92.86 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1514, allocations: 3.938 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1515, allocations: 4 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1515, allocations: 7.984 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1515, allocations: 8 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1517, allocations: 195.2 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1517, allocations: 0 / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.152, allocations: 27.98 kB / 476 MB, free: 7.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001587/0.1536, allocations: 1.098 MB / 477.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1538, allocations: 79.89 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1538, allocations: 0 / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.1539, allocations: 39.97 kB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1543, allocations: 15.98 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1565, allocations: 1.823 MB / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1569, allocations: 0.7197 MB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.157, allocations: 28.94 kB / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.1571, allocations: 39.42 kB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1571, allocations: 0 / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.1806, allocations: 3.272 MB / 483.1 MB, free: 304 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.745, allocations: 17.98 kB / 483.1 MB, free: 288 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches