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.001248/0.001248, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001218/0.001218, allocations: 184.2 kB / 18.71 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.431/1.431, 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.2173/0.2173, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3899, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002629/0.3926, allocations: 1.575 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.3933, allocations: 423.2 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.3933, allocations: 2.094 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.3937, allocations: 116.1 kB / 0.5205 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.3939, allocations: 93.48 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3942, allocations: 112.4 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3944, allocations: 90.61 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3945, allocations: 16.5 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.3946, allocations: 51.8 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3947, allocations: 79.38 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3947, allocations: 3.906 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.3948, allocations: 43.03 kB / 0.521 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.3949, allocations: 28.55 kB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.3949, allocations: 34.22 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3951, allocations: 120.1 kB / 0.5212 GB, free: 1.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3952, allocations: 4 kB / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3952, allocations: 1.219 kB / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3952, allocations: 4 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.0004382/0.3956, allocations: 427.8 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3957, allocations: 8.938 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.3957, allocations: 32.62 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3957, allocations: 15.59 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3959, allocations: 205 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3959, allocations: 1.312 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3959, allocations: 14.28 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3961, allocations: 50.25 kB / 0.5219 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3961, allocations: 4 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3961, allocations: 9.938 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3961, allocations: 1 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3962, allocations: 29.7 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.3966, allocations: 310.1 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3967, allocations: 53.2 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.3968, allocations: 19.83 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3968, allocations: 1.156 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3968, allocations: 32.36 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3968, allocations: 0 / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008815/0.3977, allocations: 248.9 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3978, allocations: 57.95 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.398, allocations: 267.5 kB / 0.5229 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.398, allocations: 30.55 kB / 0.5229 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.3981, allocations: 115.8 kB / 0.523 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3981, allocations: 25.25 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3981, allocations: 24.61 kB / 0.5231 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3983, allocations: 329.8 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.3984, allocations: 30.25 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.3985, allocations: 26.44 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3987, allocations: 71.62 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3987, allocations: 0 / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002468/0.3989, allocations: 122.8 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.399, allocations: 4.688 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.399, allocations: 1.125 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.399, allocations: 0.5156 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3991, allocations: 20.84 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3991, allocations: 5.719 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.3992, allocations: 3.609 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3992, allocations: 2.938 kB / 0.5236 GB, free: 15.57 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.0001149/0.3993, allocations: 138.5 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.3994, allocations: 14.23 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3997, allocations: 146.5 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3997, allocations: 1.438 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3997, allocations: 7.875 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3997, allocations: 2.5 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.4003, allocations: 431.2 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4003, allocations: 3.938 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.4004, allocations: 17.2 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4004, allocations: 0.9688 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4004, allocations: 1.406 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4005, allocations: 2.547 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4005, allocations: 0 / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.4008, allocations: 222.9 kB / 0.5246 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.4008, allocations: 93.12 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4009, allocations: 1.125 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.401, allocations: 9.734 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.401, allocations: 6.062 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.401, allocations: 3.047 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.4012, allocations: 203.9 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4012, allocations: 4 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.4015, allocations: 20.75 kB / 0.5249 GB, free: 14.58 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.001555/0.4031, allocations: 1.103 MB / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.4033, allocations: 75.28 kB / 0.5261 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4034, allocations: 0 / 0.5261 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4035, allocations: 46.27 kB / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.4038, allocations: 18.8 kB / 0.5261 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.4058, allocations: 1.817 MB / 0.5279 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4062, allocations: 0.7249 MB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.483e-05/0.4063, allocations: 16.42 kB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.4063, allocations: 45.44 kB / 0.5287 GB, free: 11.58 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4063, allocations: 0 / 0.5287 GB, free: 11.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.4284, allocations: 3.366 MB / 0.532 GB, free: 9.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.179, allocations: 10.72 kB / 0.532 GB, free: 9.984 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