Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001146/0.001146, allocations: 104.9 kB / 16.4 MB, free: 6.508 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.001181/0.001182, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.1964/0.1964, allocations: 43.53 MB / 314.1 MB, free: 456 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.001391/0.001391, allocations: 73.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004749/0.1247, allocations: 1.627 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.127, allocations: 0.9574 MB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.1271, allocations: 0 / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.1274, allocations: 23.86 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1278, allocations: 47.77 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.1285, allocations: 155.7 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1287, allocations: 67.78 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1289, allocations: 23.95 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.1289, allocations: 27.91 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1291, allocations: 31.86 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1292, allocations: 4 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1293, allocations: 59.89 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.1294, allocations: 15.92 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.1295, allocations: 27.81 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1298, allocations: 99.62 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1298, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1298, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1299, allocations: 4 kB / 0.4905 GB, free: 9.109 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007048/0.1306, allocations: 402.9 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1306, allocations: 11.89 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1307, allocations: 34.75 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1308, allocations: 8.891 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.131, allocations: 200.2 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1311, allocations: 4.375 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1311, allocations: 4.375 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1314, allocations: 79.31 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1314, allocations: 0 / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1315, allocations: 4 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1315, allocations: 0 / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.1317, allocations: 35.97 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.1323, allocations: 312.7 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1326, allocations: 46.56 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1327, allocations: 24.94 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1327, allocations: 0 / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1328, allocations: 34.56 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.1328, allocations: 0 / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001288/0.1341, allocations: 229.3 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.1342, allocations: 77.11 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1344, allocations: 160.1 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1345, allocations: 29.64 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.1346, allocations: 96.09 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.1346, allocations: 35.72 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1347, allocations: 17.72 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1349, allocations: 322.8 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.1351, allocations: 31.97 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1354, allocations: 49.69 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.1358, allocations: 96.81 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1358, allocations: 0 / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005324/0.1364, allocations: 113.6 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1364, allocations: 11.94 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1364, allocations: 0 / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1364, allocations: 4 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1366, allocations: 15.98 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1367, allocations: 11.92 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1368, allocations: 8 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1368, allocations: 4 kB / 0.4929 GB, free: 6.395 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 (7): * Single equations (assignments): 7 * 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.0001539/0.137, allocations: 121.8 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.1371, allocations: 7.953 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.1377, allocations: 150.5 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1377, allocations: 0 / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1377, allocations: 3.938 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1377, allocations: 0 / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.1387, allocations: 410.5 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1387, allocations: 4 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.1389, allocations: 19.98 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.1389, allocations: 7.875 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.139, allocations: 4 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.139, allocations: 0 / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.139, allocations: 4.281 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.1396, allocations: 219.5 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.1397, allocations: 85.05 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.1397, allocations: 3.938 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1399, allocations: 15.98 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.14, allocations: 11.92 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.14, allocations: 0 / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1402, allocations: 112.8 kB / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1402, allocations: 0 / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.1407, allocations: 27.94 kB / 0.4941 GB, free: 5.102 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 (7): * Single equations (assignments): 7 * 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.002708/0.1434, allocations: 1.102 MB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.144, allocations: 87.92 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.144, allocations: 0 / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.1442, allocations: 47.91 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.1448, allocations: 20.3 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1479, allocations: 1.597 MB / 0.4968 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1484, allocations: 0.6963 MB / 0.4975 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.1485, allocations: 20.64 kB / 0.4975 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1486, allocations: 31.42 kB / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1487, allocations: 0 / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.1772, allocations: 3.127 MB / 0.5006 GB, free: 14.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.005, allocations: 11.91 kB / 0.5006 GB, free: 14.22 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches