Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.001665/0.001665, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001828/0.001828, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.505/1.505, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2224/0.2224, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3324, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002581/0.335, allocations: 1.568 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006134/0.3356, allocations: 405.2 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.3357, allocations: 0 / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.3363, allocations: 454.1 kB / 0.5208 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.3367, allocations: 253.1 kB / 0.521 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.337, allocations: 125.8 kB / 0.5212 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.3372, allocations: 155.7 kB / 0.5213 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3373, allocations: 4.953 kB / 0.5213 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3374, allocations: 114.9 kB / 0.5214 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.3377, allocations: 205.4 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3377, allocations: 2.344 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.3378, allocations: 19.52 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3379, allocations: 85.2 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.3379, allocations: 98.72 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.3383, allocations: 243.8 kB / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3383, allocations: 0 / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3383, allocations: 4 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.3383, allocations: 4.938 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005976/0.3389, allocations: 0.6377 MB / 0.5227 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3389, allocations: 9.875 kB / 0.5227 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.533e-05/0.3389, allocations: 32.77 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.339, allocations: 47.73 kB / 0.5228 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3392, allocations: 305.9 kB / 0.5231 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3392, allocations: 384 / 0.5231 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3392, allocations: 3.094 kB / 0.5231 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.3394, allocations: 51.67 kB / 0.5231 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3394, allocations: 0.5156 kB / 0.5231 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3394, allocations: 7.875 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3394, allocations: 1.781 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.3395, allocations: 20.08 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3398, allocations: 378.3 kB / 0.5235 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.3399, allocations: 31.95 kB / 0.5235 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.34, allocations: 19.97 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.34, allocations: 2.328 kB / 0.5236 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.34, allocations: 31.08 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.34, allocations: 0 / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.3403, allocations: 100.1 kB / 0.5237 GB, free: 104 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.3403, allocations: 56.3 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/0.3412, allocations: 0.859 MB / 0.5246 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3412, allocations: 25.7 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3414, allocations: 223.1 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3415, allocations: 9.266 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3415, allocations: 13.75 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3417, allocations: 364.6 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.3417, allocations: 15.55 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.3418, allocations: 7.234 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.3418, allocations: 23.42 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3418, allocations: 0 / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001482/0.342, allocations: 94.52 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.342, allocations: 5.375 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.342, allocations: 4 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.342, allocations: 4.094 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.3421, allocations: 6.484 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3421, allocations: 1.078 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.3421, allocations: 2.875 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3421, allocations: 2.172 kB / 0.5253 GB, free: 15.05 MB / 398.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 (2): * Single equations (assignments): 2 * 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.0001974/0.3423, allocations: 218.3 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.3424, allocations: 41.59 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.3426, allocations: 111.8 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3426, allocations: 0.75 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3426, allocations: 0 / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3426, allocations: 1.375 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.3429, allocations: 289.7 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3429, allocations: 3.938 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.343, allocations: 5.859 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.343, allocations: 1.375 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.343, allocations: 0 / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.343, allocations: 2.219 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.343, allocations: 0 / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.3432, allocations: 193.4 kB / 0.5262 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.3433, allocations: 116.4 kB / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3433, allocations: 0.6094 kB / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.3434, allocations: 4.156 kB / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.3434, allocations: 1.984 kB / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3434, allocations: 0 / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006836/0.3441, allocations: 0.6581 MB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3441, allocations: 0 / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3443, allocations: 22.19 kB / 0.5269 GB, free: 14.03 MB / 398.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 (2): * Single equations (assignments): 2 * 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.001677/0.346, allocations: 0.9646 MB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.3461, allocations: 19.95 kB / 0.5279 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3461, allocations: 1.344 kB / 0.5279 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.3462, allocations: 14.31 kB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3466, allocations: 24.45 kB / 0.5279 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.3501, allocations: 3.119 MB / 0.531 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.3506, allocations: 0.8196 MB / 0.5318 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.3507, allocations: 16.92 kB / 0.5318 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3508, allocations: 106.9 kB / 0.5319 GB, free: 10.31 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3508, allocations: 0 / 0.5319 GB, free: 10.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.3783, allocations: 5.713 MB / 0.5375 GB, free: 7.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.816, allocations: 5.375 kB / 0.5375 GB, free: 7.406 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_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_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches