Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001106/0.001106, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001183/0.001183, allocations: 180.9 kB / 18.71 MB, free: 4.348 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2051/0.2051, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3353, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003412/0.3388, allocations: 1.632 MB / 0.52 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.3397, allocations: 465.6 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.3398, allocations: 2.281 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3401, allocations: 58.25 kB / 0.5205 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.3403, allocations: 56.25 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.3408, allocations: 172.6 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.341, allocations: 88.78 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3411, allocations: 24.67 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.3412, allocations: 37.28 kB / 0.5209 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3413, allocations: 43.47 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3413, allocations: 2.531 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3415, allocations: 52.39 kB / 0.521 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.3415, allocations: 28.92 kB / 0.521 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.3416, allocations: 32.86 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3418, allocations: 113.3 kB / 0.5212 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3418, allocations: 1.156 kB / 0.5212 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3418, allocations: 0 / 0.5212 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3418, allocations: 0 / 0.5212 GB, free: 1.551 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004649/0.3423, allocations: 416.7 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3423, allocations: 9.031 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.3424, allocations: 37.05 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3424, allocations: 19.22 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3426, allocations: 199.3 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3426, allocations: 5.719 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.3426, allocations: 4.625 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3428, allocations: 70.03 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3428, allocations: 0 / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3429, allocations: 9.547 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3429, allocations: 4.969 kB / 0.5219 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.343, allocations: 42.97 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.3435, allocations: 324.1 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3438, allocations: 60.8 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.3439, allocations: 27.11 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3439, allocations: 8 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.344, allocations: 32.3 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.093e-06/0.344, allocations: 1.125 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001577/0.3455, allocations: 417.1 kB / 0.5228 GB, free: 292 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.3456, allocations: 58.16 kB / 0.5228 GB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3457, allocations: 189.7 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3458, allocations: 29.7 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.3458, allocations: 104.2 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.3459, allocations: 40.19 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3459, allocations: 26.75 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3461, allocations: 322.9 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3462, allocations: 54.8 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3464, allocations: 59.98 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.3467, allocations: 120.1 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3467, allocations: 0 / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003432/0.347, allocations: 161.6 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.347, allocations: 4.906 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3471, allocations: 2.188 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3471, allocations: 7.875 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3472, allocations: 28.98 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3472, allocations: 1.094 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.3473, allocations: 18.06 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3473, allocations: 2.188 kB / 0.524 GB, free: 15.42 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 (11): * Single equations (assignments): 11 * 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.0001114/0.3474, allocations: 132.6 kB / 0.5241 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3475, allocations: 9.25 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.3479, allocations: 191.5 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3479, allocations: 6.75 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3479, allocations: 0 / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3479, allocations: 4.734 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.3487, allocations: 0.4932 MB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3487, allocations: 5.375 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3488, allocations: 28.77 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3488, allocations: 1.797 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3488, allocations: 2.438 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3488, allocations: 9.969 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3488, allocations: 1.625 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.3492, allocations: 273.9 kB / 0.5251 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.3493, allocations: 96.3 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3493, allocations: 6.531 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.3494, allocations: 8.484 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.3495, allocations: 12.47 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.3495, allocations: 4.297 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3496, allocations: 141.3 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3496, allocations: 0 / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3499, allocations: 26.27 kB / 0.5254 GB, free: 14.39 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001634/0.3515, allocations: 1.164 MB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.3519, allocations: 129.6 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3519, allocations: 4 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3521, allocations: 67.39 kB / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3525, allocations: 25.25 kB / 0.5267 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3548, allocations: 1.875 MB / 0.5285 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3551, allocations: 0.7153 MB / 0.5292 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.3552, allocations: 34.64 kB / 0.5293 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.3553, allocations: 39.08 kB / 0.5293 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3553, allocations: 3.938 kB / 0.5293 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.3759, allocations: 3.435 MB / 0.5327 GB, free: 9.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.274, allocations: 14.33 kB / 0.5327 GB, free: 9.543 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches