Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",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.001124/0.001124, allocations: 106.4 kB / 16.27 MB, free: 6.312 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.001206/0.001206, allocations: 191.3 kB / 17.19 MB, free: 5.93 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.353/1.353, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2121/0.2121, allocations: 43.54 MB / 314 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.001772/0.001773, allocations: 74.42 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1167, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.003252/0.12, allocations: 1.605 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.1206, allocations: 319.5 kB / 442.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.1207, allocations: 0 / 442.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1209, allocations: 59.8 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1211, allocations: 51.75 kB / 442.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1215, allocations: 115 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1216, allocations: 71.77 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1217, allocations: 20.11 kB / 442.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.1218, allocations: 27.91 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.1219, allocations: 43.83 kB / 442.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1219, allocations: 8 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1221, allocations: 35.98 kB / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.1221, allocations: 19.92 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.1222, allocations: 35.73 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1224, allocations: 87.7 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1224, allocations: 0 / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1224, allocations: 0 / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1224, allocations: 0 / 443.1 MB, free: 4.316 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.0005168/0.1229, allocations: 418.9 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.123, allocations: 15.89 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.123, allocations: 34.75 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1231, allocations: 8.844 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1232, allocations: 194.1 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1233, allocations: 4.375 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1233, allocations: 8.125 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1235, allocations: 61.59 kB / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1235, allocations: 0 / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1235, allocations: 4 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1235, allocations: 8 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1236, allocations: 31.97 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.1239, allocations: 288.8 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1241, allocations: 50.42 kB / 444.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.1241, allocations: 28.94 kB / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1242, allocations: 0 / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.1242, allocations: 30.56 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1242, allocations: 0 / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006769/0.1249, allocations: 209.4 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1249, allocations: 55.41 kB / 444.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1251, allocations: 202.8 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1251, allocations: 25.7 kB / 444.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.1251, allocations: 104.2 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1252, allocations: 23.7 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1252, allocations: 17.72 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.1253, allocations: 326.8 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1254, allocations: 27.97 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.969e-05/0.1255, allocations: 35.97 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1257, allocations: 80.75 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1257, allocations: 0 / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002538/0.126, allocations: 109.5 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.126, allocations: 4 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.126, allocations: 0 / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.126, allocations: 4 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1261, allocations: 19.97 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1261, allocations: 7.875 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.1262, allocations: 19.92 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1262, allocations: 0 / 445.5 MB, free: 1.676 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 6.468e-05/0.1263, allocations: 137.7 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1263, allocations: 11.81 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.1266, allocations: 126.6 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1266, allocations: 8 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1266, allocations: 3.938 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1266, allocations: 0 / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.127, allocations: 394.4 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1271, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.1271, allocations: 19.98 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1271, allocations: 7.938 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1272, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1272, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1272, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1274, allocations: 207.3 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.1275, allocations: 97 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1275, allocations: 3.938 kB / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.1276, allocations: 11.98 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.1276, allocations: 7.938 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1276, allocations: 4 kB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.1277, allocations: 143.2 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1277, allocations: 0 / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.128, allocations: 19.91 kB / 446.7 MB, free: 396 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.001323/0.1293, allocations: 1.038 MB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1296, allocations: 79.94 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1296, allocations: 4 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1298, allocations: 39.91 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1301, allocations: 27.86 kB / 447.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1323, allocations: 1.639 MB / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1327, allocations: 0.708 MB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.1328, allocations: 20.89 kB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.1328, allocations: 23.44 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1328, allocations: 0 / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.1538, allocations: 2.871 MB / 453.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.685, allocations: 4.062 kB / 453.1 MB, free: 9.871 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_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_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches