Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001268/0.001268, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001208/0.001208, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2186/0.2186, allocations: 44.18 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.89 kB / 470.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3458, allocations: 60.83 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002576/0.3484, allocations: 1.565 MB / 0.52 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006789/0.3491, allocations: 431.2 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.3492, allocations: 0 / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.3499, allocations: 446.7 kB / 0.5208 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.3503, allocations: 261.3 kB / 0.5211 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3507, allocations: 164.8 kB / 0.5212 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.351, allocations: 159.4 kB / 0.5214 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3511, allocations: 12.62 kB / 0.5214 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3513, allocations: 109.5 kB / 0.5215 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.3515, allocations: 205.5 kB / 0.5217 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3516, allocations: 6.5 kB / 0.5217 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.3516, allocations: 24.38 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.3517, allocations: 85.56 kB / 0.5218 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.3518, allocations: 100.6 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.3521, allocations: 244.5 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3521, allocations: 0.8906 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3522, allocations: 1.406 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3522, allocations: 0 / 0.5221 GB, free: 1.527 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.0006345/0.3528, allocations: 0.65 MB / 0.5228 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3529, allocations: 9.156 kB / 0.5228 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.497e-05/0.3529, allocations: 33.02 kB / 0.5228 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.3529, allocations: 47.88 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.3532, allocations: 303.2 kB / 0.5231 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-06/0.3532, allocations: 9.938 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.3532, allocations: 10.23 kB / 0.5232 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3534, allocations: 49.55 kB / 0.5232 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3534, allocations: 0.6562 kB / 0.5232 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3534, allocations: 9.781 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3534, allocations: 0 / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.3535, allocations: 23.77 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.3539, allocations: 384.6 kB / 0.5236 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.354, allocations: 33.39 kB / 0.5236 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.3541, allocations: 13.75 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3541, allocations: 5.75 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3541, allocations: 31.22 kB / 0.5237 GB, free: 136 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3541, allocations: 0 / 0.5237 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002635/0.3544, allocations: 107.4 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.3544, allocations: 53.56 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3555, allocations: 0.8684 MB / 0.5247 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3555, allocations: 29.83 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3557, allocations: 223.5 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3558, allocations: 5.984 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3558, allocations: 13.14 kB / 0.5249 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.356, allocations: 360.8 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.3561, allocations: 11.52 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.3561, allocations: 9.172 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.3562, allocations: 31.27 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3562, allocations: 0.6562 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000169/0.3564, allocations: 107.9 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3564, allocations: 5.5 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3564, allocations: 0 / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3565, allocations: 1.375 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.3565, allocations: 6.047 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3565, allocations: 0 / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.3566, allocations: 7.344 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3566, allocations: 1.938 kB / 0.5255 GB, free: 15.02 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.0002118/0.3568, allocations: 212 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.3569, allocations: 41.59 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3571, allocations: 110.3 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.3571, allocations: 1.375 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3571, allocations: 3.938 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3572, allocations: 0.6094 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.3575, allocations: 288.9 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3575, allocations: 0 / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.3576, allocations: 9.672 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3576, allocations: 5.312 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3576, allocations: 0.75 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3576, allocations: 0 / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3576, allocations: 5.375 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3578, allocations: 192.2 kB / 0.5263 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.3579, allocations: 116.4 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.358, allocations: 0.7969 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.358, allocations: 3.547 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3581, allocations: 2.734 kB / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.3581, allocations: 0 / 0.5264 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006948/0.3588, allocations: 0.6554 MB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.3588, allocations: 0 / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3591, allocations: 31 kB / 0.5271 GB, free: 13.99 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.00171/0.3608, allocations: 0.9739 MB / 0.528 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.3609, allocations: 22.98 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3609, allocations: 0 / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.361, allocations: 17.2 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.3614, allocations: 25.23 kB / 0.5281 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.3653, allocations: 3.142 MB / 0.5312 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.3658, allocations: 0.8248 MB / 0.532 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.3659, allocations: 19.42 kB / 0.532 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.366, allocations: 106.9 kB / 0.5321 GB, free: 10.25 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3661, allocations: 0 / 0.5321 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3978, allocations: 5.753 MB / 0.5377 GB, free: 7.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.87, allocations: 2.188 kB / 0.5377 GB, free: 7.324 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches