Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001169/0.001169, 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.001086/0.001086, 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.297/1.297, 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.2055/0.2055, 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.001463/0.001463, allocations: 69.83 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003271/0.1153, allocations: 1.608 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.116, allocations: 335.6 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.1161, allocations: 7.938 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.1167, allocations: 459.1 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.1171, allocations: 247.5 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1175, allocations: 159.6 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1178, allocations: 167.7 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1179, allocations: 20.16 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1181, allocations: 107.8 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1184, allocations: 211.6 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1184, allocations: 4 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.1185, allocations: 31.98 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1186, allocations: 87.69 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.448e-05/0.1187, allocations: 99 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.119, allocations: 262.6 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1191, allocations: 7.938 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1191, allocations: 4 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.1191, allocations: 0 / 0.4911 GB, free: 8.488 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.0007519/0.1198, allocations: 0.6529 MB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1199, allocations: 15.89 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.1199, allocations: 30.75 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.12, allocations: 48.61 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1203, allocations: 296.7 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1203, allocations: 4.375 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1203, allocations: 8.125 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1205, allocations: 57.67 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1205, allocations: 7.938 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1205, allocations: 0 / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1205, allocations: 0 / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1206, allocations: 31.95 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.1212, allocations: 400.7 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1214, allocations: 50.48 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.1215, allocations: 20.94 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1215, allocations: 0 / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1215, allocations: 30.56 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1215, allocations: 0 / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006455/0.1222, allocations: 248.7 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1222, allocations: 51.41 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.123, allocations: 0.8691 MB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1231, allocations: 29.7 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1232, allocations: 224 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1233, allocations: 15.86 kB / 0.4941 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1233, allocations: 25.7 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1235, allocations: 358.8 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.1235, allocations: 19.98 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.1236, allocations: 23.97 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1238, allocations: 52.83 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1238, allocations: 3.938 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.124, allocations: 121.6 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.124, allocations: 8 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.124, allocations: 0 / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1241, allocations: 8 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.1241, allocations: 11.98 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1241, allocations: 3.938 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.1242, allocations: 11.98 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1242, allocations: 0 / 0.4947 GB, free: 4.547 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 0.0001733/0.1244, allocations: 217.7 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1245, allocations: 39.72 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1248, allocations: 149 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1248, allocations: 0 / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1248, allocations: 3.938 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1248, allocations: 3.984 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.1254, allocations: 454.5 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1254, allocations: 3.938 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.1254, allocations: 23.98 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1254, allocations: 3.938 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.1255, allocations: 0 / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1255, allocations: 0 / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1255, allocations: 0 / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1257, allocations: 219.2 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.1259, allocations: 120.8 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1259, allocations: 8.125 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.126, allocations: 8 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.126, allocations: 3.984 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1261, allocations: 4 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006165/0.1267, allocations: 0.6511 MB / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1267, allocations: 3.938 kB / 0.4965 GB, free: 2.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1269, allocations: 31.86 kB / 0.4966 GB, free: 2.52 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.001369/0.1283, allocations: 1.045 MB / 0.4976 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1286, allocations: 63.89 kB / 0.4977 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1286, allocations: 0 / 0.4977 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.1287, allocations: 31.98 kB / 0.4977 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1291, allocations: 26.23 kB / 0.4977 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.1327, allocations: 3.25 MB / 0.5009 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1331, allocations: 0.8221 MB / 0.5017 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.689e-05/0.1332, allocations: 19.98 kB / 0.5017 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1333, allocations: 111.4 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.673e-06/0.1334, allocations: 0 / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1571, allocations: 6.028 MB / 0.5077 GB, free: 7.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.25, allocations: 23.88 kB / 0.5077 GB, free: 6.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_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_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches