Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001187/0.001187, allocations: 102.5 kB / 16.4 MB, free: 6.465 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.002241/0.002241, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2228/0.2228, allocations: 43.52 MB / 314.1 MB, free: 448 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.001371/0.001371, allocations: 85.44 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003562/0.1263, allocations: 1.55 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.1271, allocations: 315.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.1272, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1276, allocations: 131.7 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1279, allocations: 83.77 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1281, allocations: 67.78 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1283, allocations: 83.86 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1285, allocations: 19.97 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.1286, allocations: 51.7 kB / 0.4896 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1287, allocations: 75.84 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1287, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.1288, allocations: 31.94 kB / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.1289, allocations: 23.92 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.129, allocations: 35.73 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1292, allocations: 103.5 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1292, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1292, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1292, allocations: 0 / 0.4899 GB, free: 9.695 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005403/0.1297, allocations: 430.6 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1298, allocations: 11.89 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.1299, allocations: 38.69 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.1299, allocations: 12.84 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1301, allocations: 212 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1302, allocations: 384 / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1302, allocations: 4.375 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1304, allocations: 49.62 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1304, allocations: 4 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1304, allocations: 0 / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1304, allocations: 0 / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.1305, allocations: 23.92 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.131, allocations: 288.9 kB / 0.4909 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1312, allocations: 46.55 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.1313, allocations: 16.94 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1313, allocations: 0 / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1313, allocations: 38.5 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1313, allocations: 4 kB / 0.491 GB, free: 8.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000571/0.1319, allocations: 149.3 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1319, allocations: 55.41 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1322, allocations: 266.2 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1322, allocations: 29.7 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.1323, allocations: 108.1 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1323, allocations: 19.91 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1324, allocations: 21.7 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1325, allocations: 326.8 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.1326, allocations: 15.98 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.1326, allocations: 19.98 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1328, allocations: 40.84 kB / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1328, allocations: 4 kB / 0.492 GB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.1329, allocations: 93.69 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.133, allocations: 4 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.133, allocations: 3.938 kB / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.133, allocations: 4 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.1331, allocations: 8 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1331, allocations: 3.984 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1331, allocations: 11.94 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1332, allocations: 7.938 kB / 0.4922 GB, free: 7.133 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 (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.756e-05/0.1333, allocations: 133.8 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1333, allocations: 15.91 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.1335, allocations: 98.58 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1335, allocations: 4 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1336, allocations: 3.984 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1336, allocations: 0 / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.134, allocations: 366.5 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.134, allocations: 0 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.1341, allocations: 8 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1341, allocations: 0 / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1341, allocations: 4 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1341, allocations: 7.922 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1341, allocations: 3.938 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1343, allocations: 179.6 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1344, allocations: 89.02 kB / 0.493 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1344, allocations: 4.062 kB / 0.493 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1345, allocations: 11.92 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1345, allocations: 4 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1345, allocations: 4 kB / 0.4931 GB, free: 6.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1347, allocations: 199.2 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1347, allocations: 0 / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1349, allocations: 23.94 kB / 0.4933 GB, free: 5.887 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 (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.0014/0.1363, allocations: 1.002 MB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1366, allocations: 51.97 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1366, allocations: 0 / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.1366, allocations: 27.92 kB / 0.4943 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.137, allocations: 31.8 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1389, allocations: 1.7 MB / 0.496 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1392, allocations: 0.7119 MB / 0.4967 GB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.1393, allocations: 8 kB / 0.4967 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.1393, allocations: 31.42 kB / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1393, allocations: 0 / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.1588, allocations: 3.012 MB / 0.4997 GB, free: 15.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.727, allocations: 8.328 kB / 0.4997 GB, free: 15.2 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches