Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001238/0.001238, 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.001208/0.001208, 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2233/0.2233, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.393, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003193/0.3962, allocations: 1.589 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.397, allocations: 417.9 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.3971, allocations: 1.188 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.3975, allocations: 117.4 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3978, allocations: 88.95 kB / 0.5206 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.3982, allocations: 112.4 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.3984, allocations: 86.48 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3986, allocations: 15.66 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-05/0.3987, allocations: 52.61 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3989, allocations: 82.44 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3989, allocations: 3 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.399, allocations: 48.48 kB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.3991, allocations: 24.19 kB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.3991, allocations: 34.94 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3994, allocations: 116.5 kB / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3994, allocations: 0 / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3994, allocations: 3.938 kB / 0.5212 GB, free: 1.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3994, allocations: 1.219 kB / 0.5212 GB, free: 1.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004947/0.3999, allocations: 430.2 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4, allocations: 13.25 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.4, allocations: 33.23 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.4, allocations: 15.62 kB / 0.5216 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4002, allocations: 204.9 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4002, allocations: 1.594 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.4003, allocations: 10.41 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4004, allocations: 53.58 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4004, allocations: 1.594 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.4005, allocations: 7.938 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4005, allocations: 5.531 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4006, allocations: 25.98 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.4009, allocations: 314.4 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4011, allocations: 48.11 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.4011, allocations: 19.98 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4012, allocations: 5.062 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.4012, allocations: 32.16 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4012, allocations: 1.125 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009286/0.4021, allocations: 248.4 kB / 0.5226 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4022, allocations: 57.88 kB / 0.5226 GB, free: 336 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.4025, allocations: 268.2 kB / 0.5229 GB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.4025, allocations: 30.41 kB / 0.5229 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.4025, allocations: 112.1 kB / 0.523 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4026, allocations: 24.52 kB / 0.523 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.4026, allocations: 21.12 kB / 0.5231 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.4028, allocations: 328.7 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4029, allocations: 34.61 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.403, allocations: 30.8 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.4032, allocations: 75.75 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4033, allocations: 0 / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002702/0.4035, allocations: 118.6 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4036, allocations: 5.031 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4036, allocations: 5.156 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4036, allocations: 0 / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4037, allocations: 17.89 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.4037, allocations: 5.25 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.4038, allocations: 12.17 kB / 0.5237 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.4038, allocations: 2.938 kB / 0.5237 GB, free: 15.56 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 (8): * Single equations (assignments): 8 * 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.0001372/0.4039, allocations: 134.7 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.404, allocations: 13.72 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.4043, allocations: 138.6 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4044, allocations: 0.5625 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.4044, allocations: 5.031 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4044, allocations: 4.781 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.405, allocations: 426.4 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.405, allocations: 6.047 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.4051, allocations: 24.38 kB / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4051, allocations: 1.188 kB / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4052, allocations: 1.766 kB / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4052, allocations: 1.375 kB / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4052, allocations: 0 / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.4055, allocations: 219 kB / 0.5246 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.4055, allocations: 93.05 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.4055, allocations: 2.656 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.4056, allocations: 5.5 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.4057, allocations: 13.94 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4057, allocations: 8.391 kB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.4059, allocations: 203 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4059, allocations: 0 / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4062, allocations: 20.28 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00215/0.4083, allocations: 1.103 MB / 0.526 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.4086, allocations: 79.56 kB / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4086, allocations: 0 / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.4087, allocations: 42.38 kB / 0.5261 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4091, allocations: 16.39 kB / 0.5261 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.4113, allocations: 1.817 MB / 0.5279 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4117, allocations: 0.722 MB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.4118, allocations: 21.17 kB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.4118, allocations: 41.52 kB / 0.5287 GB, free: 11.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4118, allocations: 1.375 kB / 0.5287 GB, free: 11.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.4365, allocations: 3.368 MB / 0.532 GB, free: 9.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.303, allocations: 11.94 kB / 0.532 GB, free: 9.969 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches