Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001218/0.001218, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001364/0.001363, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.636/1.636, 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.2268/0.2268, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.002018/0.002018, allocations: 67.98 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1226, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003157/0.1258, allocations: 1.605 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005946/0.1265, allocations: 355.4 kB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1266, allocations: 0 / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1268, allocations: 47.83 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1271, allocations: 47.81 kB / 442.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.1275, allocations: 159.4 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1276, allocations: 67.78 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1278, allocations: 23.98 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.1278, allocations: 27.91 kB / 442.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.1279, allocations: 39.84 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1279, allocations: 4 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.128, allocations: 35.97 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.1281, allocations: 19.92 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1281, allocations: 23.81 kB / 443.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1283, allocations: 95.7 kB / 443.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1283, allocations: 0 / 443.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1283, allocations: 4 kB / 443.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1284, allocations: 0 / 443.2 MB, free: 4.262 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.0004362/0.1288, allocations: 407 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.1289, allocations: 15.89 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.1289, allocations: 34.73 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1289, allocations: 16.69 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1291, allocations: 188.8 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1291, allocations: 8.125 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1291, allocations: 4 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1293, allocations: 61.67 kB / 443.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1293, allocations: 0 / 443.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1293, allocations: 3.938 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1294, allocations: 4 kB / 443.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1295, allocations: 35.97 kB / 443.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1298, allocations: 320.6 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.13, allocations: 42.56 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.1301, allocations: 28.88 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1301, allocations: 4 kB / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1301, allocations: 34.55 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1301, allocations: 4 kB / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007267/0.1309, allocations: 221.1 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.1309, allocations: 63.33 kB / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.131, allocations: 176.5 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.131, allocations: 25.7 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.1311, allocations: 100.1 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1311, allocations: 23.66 kB / 444.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1312, allocations: 17.72 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.1312, allocations: 322.8 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1313, allocations: 39.95 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.1314, allocations: 43.97 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.1316, allocations: 88.86 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1316, allocations: 0 / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002477/0.1319, allocations: 125.8 kB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1319, allocations: 11.98 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1319, allocations: 0 / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1319, allocations: 4 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1321, allocations: 19.92 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1321, allocations: 0 / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.1321, allocations: 11.98 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1321, allocations: 3.984 kB / 445.6 MB, free: 1.57 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.863e-05/0.1322, allocations: 129.7 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1322, allocations: 19.81 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1325, allocations: 138.3 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1326, allocations: 3.938 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1326, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1326, allocations: 3.984 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.133, allocations: 414.8 kB / 446.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.133, allocations: 0 / 446.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.1331, allocations: 19.92 kB / 446.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1331, allocations: 4 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1331, allocations: 0 / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1331, allocations: 0 / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1331, allocations: 0 / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1334, allocations: 227.4 kB / 446.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.1334, allocations: 96.94 kB / 446.6 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1335, allocations: 0 / 446.6 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1336, allocations: 11.98 kB / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1336, allocations: 0 / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.1336, allocations: 4 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.1337, allocations: 147.8 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1337, allocations: 0 / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1339, allocations: 20 kB / 446.8 MB, free: 252 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.001341/0.1353, allocations: 1.057 MB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1356, allocations: 95.86 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1356, allocations: 0 / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1357, allocations: 51.95 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1361, allocations: 19.92 kB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1381, allocations: 1.662 MB / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1383, allocations: 0.7093 MB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.6e-05/0.1384, allocations: 20.95 kB / 450.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.1385, allocations: 35.42 kB / 450.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1385, allocations: 0 / 450.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.16, allocations: 2.877 MB / 453.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.467, allocations: 7.531 kB / 453.4 MB, free: 9.656 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches