Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001342/0.001342, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001312/0.001312, 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.397/1.397, 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.2182/0.2182, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003134/0.003134, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3966, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003223/0.3999, allocations: 1.592 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.4008, allocations: 410.7 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.4009, allocations: 1.375 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.4013, allocations: 73.23 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.4015, allocations: 65.88 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.4019, allocations: 112.7 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.402, allocations: 73.64 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4022, allocations: 16.03 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.4022, allocations: 37.69 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.4024, allocations: 50.08 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.4024, allocations: 7.344 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4025, allocations: 46.3 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.4026, allocations: 24.19 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.4026, allocations: 26.64 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.4028, allocations: 99.73 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4029, allocations: 0 / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4029, allocations: 4.906 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.4029, allocations: 3.938 kB / 0.521 GB, free: 1.68 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.0004383/0.4033, allocations: 410.8 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4034, allocations: 12.88 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.4034, allocations: 36.52 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.4034, allocations: 10.06 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4036, allocations: 198.4 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4036, allocations: 1.531 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.4036, allocations: 6.938 kB / 0.5217 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.4038, allocations: 57.42 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4038, allocations: 0.7969 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.4038, allocations: 1.156 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4038, allocations: 0 / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4039, allocations: 30.77 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.4043, allocations: 305.1 kB / 0.522 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4045, allocations: 40.62 kB / 0.5221 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.4045, allocations: 23.61 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4045, allocations: 5 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.4046, allocations: 32.69 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4046, allocations: 0 / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000933/0.4055, allocations: 239.6 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4056, allocations: 64.48 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4058, allocations: 209.4 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.4058, allocations: 27.73 kB / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.4058, allocations: 104.5 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4059, allocations: 28.86 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4059, allocations: 21.27 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4061, allocations: 321.2 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.4062, allocations: 35.52 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.4062, allocations: 31.02 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4064, allocations: 71 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4064, allocations: 0 / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002551/0.4067, allocations: 109.1 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4067, allocations: 6.25 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4067, allocations: 0 / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4068, allocations: 5.438 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4069, allocations: 16.23 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4069, allocations: 5.062 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.4069, allocations: 9.234 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.407, allocations: 2.469 kB / 0.5234 GB, free: 15.66 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.0001187/0.4071, allocations: 128.2 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.4071, allocations: 16.64 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.4075, allocations: 142.7 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4075, allocations: 1.219 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4075, allocations: 4.688 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4075, allocations: 1.125 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.4081, allocations: 416.3 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.4082, allocations: 5 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.4082, allocations: 20.83 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4083, allocations: 1 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4083, allocations: 1.859 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4083, allocations: 1.125 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4083, allocations: 1.219 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.4086, allocations: 209.2 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.4087, allocations: 97.56 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4087, allocations: 4.656 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.4088, allocations: 4.859 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.4088, allocations: 10.14 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4088, allocations: 3.594 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.409, allocations: 155.2 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.409, allocations: 0 / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.4093, allocations: 26.08 kB / 0.5246 GB, free: 14.7 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.002142/0.4114, allocations: 1.102 MB / 0.5257 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4117, allocations: 68.08 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.4117, allocations: 0 / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4118, allocations: 43.22 kB / 0.5258 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4122, allocations: 22.19 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4142, allocations: 1.688 MB / 0.5274 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.4146, allocations: 0.7086 MB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.4147, allocations: 20.84 kB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.4148, allocations: 32.81 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.345e-06/0.4148, allocations: 0 / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.4381, allocations: 3.07 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.303, allocations: 12.72 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches