Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.00116/0.00116, allocations: 101.3 kB / 16.27 MB, free: 5.957 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.001095/0.001095, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.522/1.522, allocations: 205.1 MB / 223.1 MB, free: 12.22 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.2298/0.2298, allocations: 43.52 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.001502/0.001502, allocations: 69.61 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1187, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002851/0.1216, allocations: 1.593 MB / 442.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005483/0.1222, allocations: 363.4 kB / 442.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.1222, allocations: 0 / 442.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.1227, allocations: 447.2 kB / 443 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.123, allocations: 251.5 kB / 443.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1233, allocations: 159.5 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1235, allocations: 159.7 kB / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1236, allocations: 24.17 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.1237, allocations: 107.7 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1239, allocations: 207.6 kB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1239, allocations: 4 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8e-05/0.124, allocations: 35.98 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.124, allocations: 83.69 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1241, allocations: 103 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1243, allocations: 251 kB / 444.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1243, allocations: 3.938 kB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1243, allocations: 0 / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1244, allocations: 0 / 444.4 MB, free: 3.055 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.0005283/0.1249, allocations: 0.6414 MB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1249, allocations: 11.89 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.125, allocations: 38.75 kB / 445.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.125, allocations: 40.38 kB / 445.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1252, allocations: 304.1 kB / 445.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1252, allocations: 4.375 kB / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1253, allocations: 8.125 kB / 445.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1254, allocations: 57.61 kB / 445.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1254, allocations: 0 / 445.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1254, allocations: 4 kB / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1254, allocations: 0 / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.1255, allocations: 27.98 kB / 445.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1259, allocations: 404.6 kB / 445.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1261, allocations: 50.5 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.1262, allocations: 20.94 kB / 446 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1262, allocations: 0 / 446 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.1262, allocations: 34.56 kB / 446 MB, free: 1.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1262, allocations: 7.938 kB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005382/0.1268, allocations: 228 kB / 446.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.1268, allocations: 51.41 kB / 446.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.1274, allocations: 0.8652 MB / 447.1 MB, free: 80 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1274, allocations: 33.69 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1276, allocations: 216.1 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1276, allocations: 27.66 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1277, allocations: 21.7 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1278, allocations: 358.8 kB / 447.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1279, allocations: 19.98 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1279, allocations: 23.98 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1281, allocations: 56.75 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1281, allocations: 4 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002132/0.1283, allocations: 117.2 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1283, allocations: 6.969 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1284, allocations: 0 / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1284, allocations: 0 / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.1284, allocations: 15.98 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1285, allocations: 3.938 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.1285, allocations: 4 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1285, allocations: 0 / 448 MB, free: 15.16 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 (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.0001615/0.1287, allocations: 225.6 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.1288, allocations: 43.72 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.129, allocations: 141 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.129, allocations: 4.297 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1291, allocations: 3.938 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1291, allocations: 4 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.1296, allocations: 474.4 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1296, allocations: 0 / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1297, allocations: 11.98 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1297, allocations: 7.938 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.1297, allocations: 0 / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1297, allocations: 0 / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1297, allocations: 0 / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1299, allocations: 223 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.13, allocations: 108.5 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1301, allocations: 11.92 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1301, allocations: 4 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1302, allocations: 4 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1302, allocations: 3.984 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.1308, allocations: 0.655 MB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1308, allocations: 4 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.131, allocations: 23.94 kB / 449.9 MB, free: 13.12 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 (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.001568/0.1326, allocations: 1.043 MB / 451 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1328, allocations: 63.89 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1328, allocations: 0 / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.1329, allocations: 23.98 kB / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1333, allocations: 40.2 kB / 451.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.1366, allocations: 3.275 MB / 454.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.137, allocations: 0.8308 MB / 455.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.137, allocations: 15.97 kB / 455.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1372, allocations: 115.4 kB / 455.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1372, allocations: 0 / 455.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.1615, allocations: 5.89 MB / 461.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.611, allocations: 7.578 kB / 461.2 MB, free: 1.727 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches