Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001112/0.001112, allocations: 103.8 kB / 17.63 MB, free: 5.344 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.001076/0.001076, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 71.09 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003028/0.1185, allocations: 1.627 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000775/0.1193, allocations: 455 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.1194, allocations: 4 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.1199, allocations: 455.1 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1203, allocations: 243.5 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1207, allocations: 174.4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1209, allocations: 171.6 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.121, allocations: 20 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1211, allocations: 115.8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1213, allocations: 203.6 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1214, allocations: 4 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1215, allocations: 55.91 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.1216, allocations: 87.62 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.1217, allocations: 107 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.122, allocations: 271.2 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.122, allocations: 0 / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.122, allocations: 0 / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.122, allocations: 0 / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006719/0.1227, allocations: 0.6414 MB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1227, allocations: 12.03 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.1228, allocations: 34.69 kB / 474 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.1228, allocations: 44.38 kB / 474 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1231, allocations: 308.1 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1231, allocations: 8.375 kB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1231, allocations: 8.281 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1233, allocations: 57.62 kB / 474.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1233, allocations: 3.984 kB / 474.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1233, allocations: 7.984 kB / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1233, allocations: 0 / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1235, allocations: 31.92 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.1239, allocations: 412.6 kB / 474.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1241, allocations: 50.59 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.1241, allocations: 20.94 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1241, allocations: 0 / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1242, allocations: 30.56 kB / 475 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1242, allocations: 4 kB / 475 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000929/0.1251, allocations: 319.9 kB / 475.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1252, allocations: 55.34 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.1259, allocations: 0.873 MB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.126, allocations: 25.7 kB / 476.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1261, allocations: 228 kB / 476.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1262, allocations: 23.66 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1262, allocations: 25.7 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1264, allocations: 358.8 kB / 476.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.1265, allocations: 31.97 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.1265, allocations: 32.05 kB / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1267, allocations: 80.75 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1267, allocations: 0 / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002477/0.127, allocations: 149.1 kB / 477.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.127, allocations: 4 kB / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.127, allocations: 0 / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.127, allocations: 0 / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1271, allocations: 23.92 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1272, allocations: 4 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.1272, allocations: 8 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1272, allocations: 0 / 477.2 MB, free: 6.191 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001822/0.1274, allocations: 225.6 kB / 477.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1275, allocations: 43.38 kB / 477.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.1278, allocations: 173.5 kB / 477.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1278, allocations: 3.938 kB / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1278, allocations: 0 / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1278, allocations: 0 / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.1285, allocations: 0.5187 MB / 478.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1285, allocations: 4 kB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.1286, allocations: 19.97 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1286, allocations: 3.984 kB / 478.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1286, allocations: 4 kB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1286, allocations: 0 / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1286, allocations: 0 / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.1289, allocations: 248.1 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.129, allocations: 120.5 kB / 478.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.129, allocations: 4.422 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.1291, allocations: 4 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1292, allocations: 11.98 kB / 478.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1292, allocations: 4 kB / 478.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005947/0.1298, allocations: 0.6589 MB / 479.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1298, allocations: 0 / 479.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1301, allocations: 24 kB / 479.2 MB, free: 4.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001515/0.1316, allocations: 1.136 MB / 480.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1319, allocations: 87.86 kB / 480.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1319, allocations: 0 / 480.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.132, allocations: 43.92 kB / 480.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1324, allocations: 34.22 kB / 480.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.1359, allocations: 3.386 MB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1363, allocations: 0.8298 MB / 484.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.1364, allocations: 28.72 kB / 484.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1365, allocations: 119.4 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1365, allocations: 3.938 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.1621, allocations: 6.231 MB / 491.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/7.863, allocations: 10.83 kB / 491.1 MB, free: 8.238 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches