Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.001027/0.001028, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001095/0.001095, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.338/1.338, 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.2052/0.2052, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.84 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002657/0.3324, allocations: 1.626 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006919/0.3331, allocations: 0.678 MB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.3331, allocations: 1.281 kB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3334, allocations: 32.56 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.3335, allocations: 38.81 kB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.3335, allocations: 5.094 kB / 0.5208 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.3337, allocations: 33.31 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.3337, allocations: 8.453 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3337, allocations: 8.516 kB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.3338, allocations: 17.2 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.3338, allocations: 1.094 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.131e-05/0.3339, allocations: 6.016 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.3339, allocations: 23.7 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3339, allocations: 15.22 kB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3341, allocations: 75.02 kB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3341, allocations: 0.5156 kB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3341, allocations: 0 / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.3341, allocations: 5.312 kB / 0.5209 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002634/0.3344, allocations: 363.8 kB / 0.5213 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3344, allocations: 9.281 kB / 0.5213 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.3344, allocations: 44.69 kB / 0.5213 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.3345, allocations: 12.14 kB / 0.5214 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.3346, allocations: 169.3 kB / 0.5215 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3346, allocations: 2.5 kB / 0.5215 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3346, allocations: 1.5 kB / 0.5215 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3347, allocations: 120.3 kB / 0.5216 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3348, allocations: 8.906 kB / 0.5216 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3348, allocations: 5.719 kB / 0.5216 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.3348, allocations: 23.09 kB / 0.5217 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.3349, allocations: 42.89 kB / 0.5217 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.3353, allocations: 0.8972 MB / 0.5226 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.3354, allocations: 170.2 kB / 0.5227 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.3355, allocations: 88.11 kB / 0.5228 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3355, allocations: 77.56 kB / 0.5229 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3355, allocations: 109.8 kB / 0.523 GB, free: 15.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3355, allocations: 0 / 0.523 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.685e-05/0.3356, allocations: 35.53 kB / 0.523 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.3357, allocations: 131.3 kB / 0.5232 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3359, allocations: 185.3 kB / 0.5233 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3359, allocations: 30.41 kB / 0.5234 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.336, allocations: 154.6 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.336, allocations: 2.109 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.336, allocations: 43.58 kB / 0.5236 GB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3362, allocations: 321.8 kB / 0.5239 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.3362, allocations: 34.86 kB / 0.5239 GB, free: 14.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3363, allocations: 151.8 kB / 0.5241 GB, free: 14.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.3365, allocations: 208.2 kB / 0.5242 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3366, allocations: 1.125 kB / 0.5243 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000295/0.3369, allocations: 203.5 kB / 0.5244 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3369, allocations: 6.656 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3369, allocations: 5.172 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3369, allocations: 5.781 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.337, allocations: 38.27 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3371, allocations: 18.84 kB / 0.5245 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.3371, allocations: 27.81 kB / 0.5245 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3372, allocations: 10.38 kB / 0.5246 GB, free: 14.08 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000118/0.3373, allocations: 208.9 kB / 0.5248 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.3374, allocations: 117.4 kB / 0.5249 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.3374, allocations: 117.1 kB / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/0.3375, allocations: 186.2 kB / 0.5252 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-05/0.3375, allocations: 182.3 kB / 0.5253 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.903e-05/0.3376, allocations: 184.8 kB / 0.5255 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.3378, allocations: 424.7 kB / 0.5259 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/0.3379, allocations: 101.5 kB / 0.526 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.3379, allocations: 106.7 kB / 0.5261 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.813e-05/0.338, allocations: 185.8 kB / 0.5263 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.338, allocations: 182.5 kB / 0.5265 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-05/0.3381, allocations: 178 kB / 0.5266 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.143e-05/0.3382, allocations: 182.1 kB / 0.5268 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.3383, allocations: 316.6 kB / 0.5271 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.3384, allocations: 189 kB / 0.5273 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.3385, allocations: 182.6 kB / 0.5275 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.3385, allocations: 106.5 kB / 0.5276 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3386, allocations: 178 kB / 0.5277 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.3386, allocations: 103.1 kB / 0.5278 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.497e-05/0.3387, allocations: 134.6 kB / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3388, allocations: 0 / 0.528 GB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.339, allocations: 16.53 kB / 0.528 GB, free: 10.48 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 (0): * Single equations (assignments): 0 * 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.0007273/0.3398, allocations: 0.9075 MB / 0.5289 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3399, allocations: 78.42 kB / 0.5289 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3399, allocations: 0 / 0.5289 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.3399, allocations: 0 / 0.5289 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3403, allocations: 471.8 kB / 0.5294 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3421, allocations: 1.881 MB / 0.5312 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3424, allocations: 0.7053 MB / 0.5319 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.3426, allocations: 54.27 kB / 0.532 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.3427, allocations: 28.34 kB / 0.532 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3427, allocations: 0 / 0.532 GB, free: 6.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.3612, allocations: 2.096 MB / 0.534 GB, free: 5.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/7.974, allocations: 9.766 kB / 0.534 GB, free: 5.965 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches