Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001128/0.001128, 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.001187/0.001187, 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.447/1.447, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2325/0.2325, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.69 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003413/0.1427, allocations: 1.58 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.1435, allocations: 395.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.1436, allocations: 7.938 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1439, allocations: 75.7 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1442, allocations: 59.81 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1445, allocations: 94.77 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1447, allocations: 71.88 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1448, allocations: 16.19 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.1449, allocations: 31.84 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.145, allocations: 43.89 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.145, allocations: 4 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1451, allocations: 55.84 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.1452, allocations: 8 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.1452, allocations: 35.73 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1454, allocations: 99.92 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1455, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1455, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1455, allocations: 3.938 kB / 471.9 MB, free: 11.71 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.0005104/0.146, allocations: 402 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.146, allocations: 8.031 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.1461, allocations: 34.75 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1461, allocations: 8.844 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1463, allocations: 201.7 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1463, allocations: 384 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1464, allocations: 8.125 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1465, allocations: 61.64 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1465, allocations: 4 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1466, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1466, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1467, allocations: 23.98 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.147, allocations: 292.7 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1472, allocations: 50.55 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.1472, allocations: 24.88 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1473, allocations: 4 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1473, allocations: 30.56 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1473, allocations: 0 / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008783/0.1482, allocations: 221 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1483, allocations: 59.34 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1485, allocations: 193.9 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1485, allocations: 29.7 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1485, allocations: 100.1 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1486, allocations: 27.62 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.1486, allocations: 25.72 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1488, allocations: 322.8 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.1489, allocations: 19.98 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.1489, allocations: 27.97 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1491, allocations: 60.83 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1491, allocations: 0 / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002152/0.1493, allocations: 101.5 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1493, allocations: 6.5 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1493, allocations: 4 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1494, allocations: 0 / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.1495, allocations: 15.98 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1495, allocations: 3.938 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.1495, allocations: 8 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1496, allocations: 7.984 kB / 474.3 MB, free: 9.148 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 0.000103/0.1497, allocations: 121.8 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.1497, allocations: 7.906 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.15, allocations: 126.6 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.15, allocations: 7.938 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.15, allocations: 7.938 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.15, allocations: 0 / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.1505, allocations: 403.2 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1505, allocations: 7.875 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.1506, allocations: 19.98 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1506, allocations: 0 / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1506, allocations: 0 / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1506, allocations: 0 / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1507, allocations: 4 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1509, allocations: 200.2 kB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.151, allocations: 88.95 kB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.151, allocations: 4 kB / 475.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.1511, allocations: 4 kB / 475.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1511, allocations: 7.984 kB / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1511, allocations: 4 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1513, allocations: 151.2 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1513, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1515, allocations: 16 kB / 475.4 MB, free: 7.879 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.001571/0.1531, allocations: 1.09 MB / 476.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.1533, allocations: 67.91 kB / 476.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1534, allocations: 4 kB / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.1534, allocations: 35.97 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1539, allocations: 19.02 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.1558, allocations: 1.609 MB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1562, allocations: 0.7002 MB / 478.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.1562, allocations: 16.66 kB / 478.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.1563, allocations: 31.42 kB / 479 MB, free: 4.352 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1563, allocations: 0 / 479 MB, free: 4.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1785, allocations: 2.873 MB / 481.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.745, allocations: 10.52 kB / 481.9 MB, free: 1.531 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches