Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001143/0.001143, allocations: 105.6 kB / 16.27 MB, free: 5.93 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.001176/0.001176, allocations: 191 kB / 17.2 MB, free: 5.574 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.589/1.589, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2207/0.2207, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 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.001533/0.001533, allocations: 66 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00318/0.1148, allocations: 1.6 MB / 442.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.1155, allocations: 351.4 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.1156, allocations: 8 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.1162, allocations: 455.1 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1165, allocations: 255.4 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1169, allocations: 147 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1171, allocations: 171.6 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1172, allocations: 19.98 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.1173, allocations: 107.8 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1175, allocations: 215.6 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1175, allocations: 0 / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1176, allocations: 35.94 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.1177, allocations: 83.67 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1178, allocations: 107 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.118, allocations: 259 kB / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.118, allocations: 0 / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1181, allocations: 0 / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1181, allocations: 3.938 kB / 444.4 MB, free: 2.992 MB / 318.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.0006285/0.1187, allocations: 0.6491 MB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1187, allocations: 11.89 kB / 445.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.1188, allocations: 34.75 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1188, allocations: 40.47 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.119, allocations: 304.1 kB / 445.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1191, allocations: 4.375 kB / 445.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1191, allocations: 4.375 kB / 445.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1193, allocations: 65.59 kB / 445.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1193, allocations: 0 / 445.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1193, allocations: 0 / 445.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1193, allocations: 3.984 kB / 445.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1194, allocations: 43.95 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.1199, allocations: 412.6 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.12, allocations: 46.55 kB / 446 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.1201, allocations: 36.88 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1201, allocations: 0 / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.1201, allocations: 34.56 kB / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1201, allocations: 0 / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008767/0.121, allocations: 299.9 kB / 446.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1211, allocations: 55.41 kB / 446.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/0.1218, allocations: 0.8691 MB / 447.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1218, allocations: 25.7 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.122, allocations: 220 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1221, allocations: 27.69 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1221, allocations: 17.72 kB / 447.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1223, allocations: 362.7 kB / 447.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1225, allocations: 47.91 kB / 448 MB, free: 15.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1226, allocations: 35.97 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.1228, allocations: 88.8 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1228, allocations: 0 / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000323/0.1232, allocations: 157.1 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1232, allocations: 4 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1232, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1232, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1234, allocations: 23.92 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1234, allocations: 0 / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.1235, allocations: 15.92 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1235, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.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.0002075/0.1237, allocations: 229.6 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1238, allocations: 35.53 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.1241, allocations: 185.3 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1242, allocations: 0 / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1242, allocations: 0 / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1242, allocations: 3.938 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.1248, allocations: 0.514 MB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1249, allocations: 0 / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.1249, allocations: 15.98 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.125, allocations: 4 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.125, allocations: 3.938 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.125, allocations: 0 / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.125, allocations: 0 / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1253, allocations: 259.4 kB / 449.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.1254, allocations: 112.5 kB / 449.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1255, allocations: 7.938 kB / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.1256, allocations: 8 kB / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1256, allocations: 15.98 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1256, allocations: 3.938 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005803/0.1262, allocations: 0.6511 MB / 450.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 450.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1265, allocations: 28 kB / 450.3 MB, free: 12.69 MB / 334.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.001452/0.128, allocations: 1.092 MB / 451.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1283, allocations: 87.94 kB / 451.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1283, allocations: 0 / 451.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1284, allocations: 55.89 kB / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.1289, allocations: 31.97 kB / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.1326, allocations: 3.356 MB / 455 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.1331, allocations: 0.835 MB / 455.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.236e-05/0.1332, allocations: 17.06 kB / 455.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1334, allocations: 123.3 kB / 455.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1334, allocations: 4 kB / 455.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1607, allocations: 6.043 MB / 462 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.54, allocations: 11.92 kB / 462 MB, free: 0.9727 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches