Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001099/0.001099, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001743/0.001743, allocations: 183 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2256/0.2256, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4373, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003303/0.4407, allocations: 1.596 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.4415, allocations: 413.4 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.4417, allocations: 1.219 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.442, allocations: 73.58 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.4423, allocations: 62.97 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.4428, allocations: 111.9 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.443, allocations: 75.2 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4431, allocations: 15.23 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.4432, allocations: 37.55 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4433, allocations: 58.72 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.4434, allocations: 2.281 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.4435, allocations: 42.86 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.4436, allocations: 20.03 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.4436, allocations: 25.89 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.4439, allocations: 103.7 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4439, allocations: 2.203 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4439, allocations: 3.938 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4439, allocations: 3.938 kB / 0.521 GB, free: 1.648 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.00043/0.4443, allocations: 411.1 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4444, allocations: 9.906 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.4444, allocations: 37.16 kB / 0.5214 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.4445, allocations: 9.172 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4446, allocations: 198.8 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4446, allocations: 1.562 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4447, allocations: 10.44 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4448, allocations: 57.22 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4448, allocations: 0.6094 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4449, allocations: 5.375 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4449, allocations: 0 / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.445, allocations: 26.58 kB / 0.5217 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4454, allocations: 300.7 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4455, allocations: 44.55 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.4455, allocations: 24.73 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4456, allocations: 0 / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.4456, allocations: 33.31 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4456, allocations: 0 / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009419/0.4465, allocations: 247.5 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.4466, allocations: 55.34 kB / 0.5224 GB, free: 380 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4468, allocations: 211.5 kB / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.4468, allocations: 25.7 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.4468, allocations: 105.1 kB / 0.5227 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4469, allocations: 28.86 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.4469, allocations: 22.3 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4471, allocations: 329.7 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.4472, allocations: 30.34 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.4473, allocations: 29.94 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.4475, allocations: 76.95 kB / 0.5232 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4475, allocations: 0 / 0.5232 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002478/0.4477, allocations: 108.3 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4478, allocations: 9.75 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4478, allocations: 0.6094 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4478, allocations: 1.188 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4479, allocations: 24.33 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4479, allocations: 5.672 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.448, allocations: 4.766 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.448, allocations: 3.031 kB / 0.5234 GB, free: 15.62 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 9.663e-05/0.4481, allocations: 127 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4481, allocations: 17.02 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.4485, allocations: 127.5 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4485, allocations: 0.8438 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4485, allocations: 5.469 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4485, allocations: 0 / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.449, allocations: 423.7 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4491, allocations: 5.484 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.4491, allocations: 16.86 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4491, allocations: 0.6562 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4492, allocations: 6.188 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4492, allocations: 1.859 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4492, allocations: 0 / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.4494, allocations: 214.4 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.4495, allocations: 92.02 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4495, allocations: 1.766 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.4496, allocations: 4.891 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.4497, allocations: 9.547 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4497, allocations: 3.844 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.4498, allocations: 156.2 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4498, allocations: 0 / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.4501, allocations: 27 kB / 0.5246 GB, free: 14.67 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.00144/0.4515, allocations: 1.097 MB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4518, allocations: 75.62 kB / 0.5257 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4518, allocations: 0 / 0.5257 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.4519, allocations: 39.06 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.4523, allocations: 26.52 kB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.4543, allocations: 1.681 MB / 0.5274 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4546, allocations: 0.7087 MB / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.148e-05/0.4547, allocations: 25.31 kB / 0.5281 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.4547, allocations: 32.52 kB / 0.5282 GB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4547, allocations: 0 / 0.5282 GB, free: 11.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.476, allocations: 3.076 MB / 0.5312 GB, free: 10.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.056, allocations: 10.55 kB / 0.5312 GB, free: 10.34 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches