Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001664/0.001672, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.002061/0.002062, allocations: 192 kB / 18.55 MB, free: 4.566 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.471/1.471, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2292/0.2292, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.16 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1312, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003048/0.1343, allocations: 1.561 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.135, allocations: 391.3 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.1351, allocations: 0 / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.1353, allocations: 19.86 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1355, allocations: 35.84 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1358, allocations: 99.06 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1359, allocations: 51.84 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.136, allocations: 19.98 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.1361, allocations: 15.92 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.1362, allocations: 23.84 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1362, allocations: 4 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.1363, allocations: 31.94 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1363, allocations: 15.86 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.1364, allocations: 23.88 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1365, allocations: 76.06 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1365, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1366, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1366, allocations: 0 / 471.7 MB, free: 11.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004431/0.137, allocations: 383.1 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1371, allocations: 12.03 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.1371, allocations: 30.75 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.1371, allocations: 8.844 kB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1373, allocations: 188.2 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.1373, allocations: 4.375 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1374, allocations: 8.375 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1375, allocations: 49.62 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1375, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1375, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1375, allocations: 4 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.1376, allocations: 23.97 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.138, allocations: 280.8 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1382, allocations: 42.56 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1383, allocations: 16.94 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1383, allocations: 0 / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1383, allocations: 34.56 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1384, allocations: 4 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005564/0.1389, allocations: 137.3 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.139, allocations: 51.41 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1391, allocations: 164.1 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1392, allocations: 25.7 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1392, allocations: 96.12 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1393, allocations: 19.75 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1393, allocations: 13.72 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1395, allocations: 326.8 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.1395, allocations: 19.92 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.1396, allocations: 23.92 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1397, allocations: 44.83 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1398, allocations: 4 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.1399, allocations: 81.58 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.14, allocations: 4 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.14, allocations: 0 / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.14, allocations: 0 / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.1401, allocations: 11.98 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.1401, allocations: 4 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.1401, allocations: 11.81 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1401, allocations: 4 kB / 473.8 MB, free: 9.582 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 9.01e-05/0.1402, allocations: 121.8 kB / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1403, allocations: 7.906 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1405, allocations: 89.97 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1405, allocations: 0 / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1405, allocations: 320 / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.1406, allocations: 3.938 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.141, allocations: 346.5 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.141, allocations: 0 / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.141, allocations: 15.98 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.141, allocations: 288 / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1411, allocations: 7.938 kB / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1411, allocations: 0 / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1411, allocations: 0 / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1413, allocations: 183.4 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.1414, allocations: 89 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1414, allocations: 3.938 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.1415, allocations: 4 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1415, allocations: 3.984 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1415, allocations: 4 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.328e-05/0.1416, allocations: 115.3 kB / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1416, allocations: 4 kB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1419, allocations: 11.98 kB / 474.8 MB, free: 8.484 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.001394/0.1433, allocations: 1.007 MB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1435, allocations: 51.84 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1435, allocations: 4 kB / 475.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.1436, allocations: 19.98 kB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.144, allocations: 20.11 kB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1455, allocations: 1.438 MB / 477.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1458, allocations: 0.6924 MB / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.037e-05/0.1459, allocations: 12.05 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.1459, allocations: 19.44 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1459, allocations: 0 / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1649, allocations: 2.428 MB / 480.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.692, allocations: 19.34 kB / 480.5 MB, free: 2.875 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches