Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001276/0.001276, allocations: 118 kB / 17.78 MB, free: 5.125 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.001234/0.001234, allocations: 183 kB / 18.72 MB, free: 4.203 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2466/0.2466, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3412, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.0028/0.3441, allocations: 1.646 MB / 0.5201 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006467/0.3447, allocations: 421 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.3448, allocations: 1.406 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.345, allocations: 57.84 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.3452, allocations: 59.19 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.3456, allocations: 134.2 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3457, allocations: 75.39 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3458, allocations: 20.19 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.3459, allocations: 31.22 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.346, allocations: 54.03 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.346, allocations: 3.656 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3462, allocations: 48.25 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.3463, allocations: 19.42 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.3463, allocations: 32.94 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.3465, allocations: 110.5 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3465, allocations: 1.828 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3465, allocations: 0 / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.3465, allocations: 7.938 kB / 0.5211 GB, free: 1.605 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.0005163/0.3471, allocations: 411.2 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3471, allocations: 8.938 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.3472, allocations: 38.75 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3472, allocations: 12.97 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3474, allocations: 204.8 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3474, allocations: 1.625 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3474, allocations: 3.594 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3476, allocations: 71.03 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3477, allocations: 1.688 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3477, allocations: 0 / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3477, allocations: 1.031 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3478, allocations: 43.64 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3482, allocations: 309.6 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3485, allocations: 58.23 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.3486, allocations: 28.38 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3486, allocations: 1.031 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3486, allocations: 32.23 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3486, allocations: 0 / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001491/0.3501, allocations: 403.8 kB / 0.5227 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3502, allocations: 52 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3504, allocations: 181 kB / 0.5229 GB, free: 168 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3504, allocations: 29.7 kB / 0.5229 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3504, allocations: 100.4 kB / 0.523 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3505, allocations: 39.64 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3506, allocations: 26.44 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3507, allocations: 326 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3509, allocations: 40.03 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.351, allocations: 44.75 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3513, allocations: 100.7 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3513, allocations: 0 / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000341/0.3516, allocations: 143.5 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3516, allocations: 5.234 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3516, allocations: 1.094 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3517, allocations: 3.938 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3518, allocations: 37.53 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3518, allocations: 1.125 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.3519, allocations: 10.16 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3519, allocations: 2.844 kB / 0.5237 GB, free: 15.52 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.0001067/0.352, allocations: 124.3 kB / 0.5239 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.352, allocations: 14.16 kB / 0.5239 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.3524, allocations: 168.4 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3524, allocations: 6.031 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3525, allocations: 0.5156 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3525, allocations: 8.438 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.3532, allocations: 464.4 kB / 0.5245 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3532, allocations: 1.125 kB / 0.5245 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3533, allocations: 28.67 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3533, allocations: 2.906 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3533, allocations: 9.5 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3533, allocations: 5.5 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3533, allocations: 1.953 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3537, allocations: 256.4 kB / 0.5248 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.3538, allocations: 90.92 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3538, allocations: 2.797 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3539, allocations: 9.281 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.354, allocations: 12.39 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.354, allocations: 7.281 kB / 0.5249 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3542, allocations: 144 kB / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3542, allocations: 0 / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3544, allocations: 26.27 kB / 0.5251 GB, free: 14.5 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.002299/0.3567, allocations: 1.139 MB / 0.5262 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3571, allocations: 107 kB / 0.5263 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3571, allocations: 0 / 0.5263 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.3573, allocations: 59.78 kB / 0.5263 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3577, allocations: 25.33 kB / 0.5264 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3599, allocations: 1.784 MB / 0.5281 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3603, allocations: 0.7125 MB / 0.5288 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.3604, allocations: 17.03 kB / 0.5288 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.3605, allocations: 37.78 kB / 0.5289 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3605, allocations: 0 / 0.5289 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3855, allocations: 3.299 MB / 0.5321 GB, free: 9.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.432, allocations: 9.953 kB / 0.5321 GB, free: 9.891 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches