Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",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.001332/0.001332, allocations: 101.5 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.001316/0.001316, allocations: 193.9 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.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1923/0.1923, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.002629/0.002629, allocations: 66.64 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1163, allocations: 57.8 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.002846/0.1192, allocations: 1.601 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.1198, allocations: 327.4 kB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1199, allocations: 0 / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1201, allocations: 47.81 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1204, allocations: 47.83 kB / 442.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1206, allocations: 115.3 kB / 442.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1208, allocations: 67.81 kB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.1209, allocations: 16.12 kB / 442.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.1209, allocations: 31.84 kB / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.121, allocations: 47.83 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.121, allocations: 4 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.1211, allocations: 31.98 kB / 442.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.1212, allocations: 15.94 kB / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.1212, allocations: 31.78 kB / 443 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1214, allocations: 83.72 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1214, allocations: 0 / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1214, allocations: 4 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1214, allocations: 0 / 443.1 MB, free: 4.34 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.0003833/0.1218, allocations: 403.1 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1218, allocations: 11.89 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.116e-05/0.1218, allocations: 34.69 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1219, allocations: 8.844 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.122, allocations: 200.7 kB / 443.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.122, allocations: 3.938 kB / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1221, allocations: 8 kB / 443.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1222, allocations: 57.67 kB / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1222, allocations: 0 / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1222, allocations: 8 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1222, allocations: 0 / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1224, allocations: 35.91 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.1226, allocations: 296.7 kB / 444.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1227, allocations: 50.55 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1228, allocations: 28.88 kB / 444.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1228, allocations: 0 / 444.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.1229, allocations: 30.56 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1229, allocations: 7.938 kB / 444.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006627/0.1235, allocations: 205.3 kB / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1236, allocations: 59.34 kB / 444.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1237, allocations: 167 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1237, allocations: 29.7 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.1237, allocations: 100 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1238, allocations: 23.66 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1238, allocations: 25.66 kB / 444.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.1239, allocations: 322.8 kB / 445.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.124, allocations: 27.97 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.1241, allocations: 35.97 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1242, allocations: 73.05 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1243, allocations: 0 / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002246/0.1245, allocations: 121.5 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1245, allocations: 7.938 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1245, allocations: 0 / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1245, allocations: 0 / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1246, allocations: 19.98 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1246, allocations: 4 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.1247, allocations: 11.98 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1247, allocations: 0 / 445.4 MB, free: 1.734 MB / 318.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 5.556e-05/0.1248, allocations: 129.8 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1248, allocations: 11.84 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1251, allocations: 130.3 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1251, allocations: 0 / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1251, allocations: 0 / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1251, allocations: 0 / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1255, allocations: 390.5 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1255, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.1256, allocations: 31.91 kB / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1256, allocations: 0 / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1256, allocations: 0 / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1256, allocations: 0 / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1256, allocations: 0 / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1258, allocations: 215.2 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.1259, allocations: 89.02 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1259, allocations: 7.984 kB / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.126, allocations: 4 kB / 446.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.126, allocations: 7.984 kB / 446.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.126, allocations: 3.938 kB / 446.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.657e-05/0.1261, allocations: 139.9 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1261, allocations: 0 / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1264, allocations: 27.92 kB / 446.6 MB, free: 472 kB / 318.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.001213/0.1276, allocations: 1.03 MB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1279, allocations: 87.88 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1279, allocations: 0 / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.128, allocations: 40.12 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1283, allocations: 17.47 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.13, allocations: 1.621 MB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1303, allocations: 0.7051 MB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.1303, allocations: 12.42 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.1304, allocations: 35.42 kB / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1304, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.1464, allocations: 2.783 MB / 452.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.426, allocations: 7.984 kB / 452.9 MB, free: 10.06 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches