Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001224/0.001224, 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.001181/0.001181, 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.442/1.442, 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.2493/0.2493, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.445, allocations: 60.81 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002726/0.4478, allocations: 1.619 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.4485, allocations: 416.4 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.4486, allocations: 1.375 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.4488, allocations: 97.14 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.449, allocations: 74.53 kB / 0.5206 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.4492, allocations: 87.12 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.4494, allocations: 87.27 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.4495, allocations: 30.3 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.4495, allocations: 41.23 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.4496, allocations: 56.81 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.4496, allocations: 4.344 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.4497, allocations: 45.62 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.4498, allocations: 29.16 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.4498, allocations: 33 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.45, allocations: 129.8 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.45, allocations: 0 / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.45, allocations: 5.062 kB / 0.5211 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.45, allocations: 0 / 0.5211 GB, free: 1.625 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003435/0.4503, allocations: 427.2 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.4504, allocations: 10.38 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.139e-05/0.4504, allocations: 37.3 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.4504, allocations: 15.12 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.4506, allocations: 206.1 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.4506, allocations: 13.73 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4506, allocations: 7.938 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4508, allocations: 71.31 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4508, allocations: 1.125 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.4508, allocations: 3.938 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4508, allocations: 2.594 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4509, allocations: 43.19 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.4513, allocations: 334.3 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.4514, allocations: 60.61 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.4515, allocations: 21.94 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4515, allocations: 2.125 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.4515, allocations: 32.67 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.4515, allocations: 0 / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009552/0.4525, allocations: 311.4 kB / 0.5226 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.4525, allocations: 54.16 kB / 0.5227 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.4527, allocations: 233.1 kB / 0.5229 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.4527, allocations: 27.3 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.4528, allocations: 113.1 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.4529, allocations: 45.28 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.4529, allocations: 32.09 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4531, allocations: 328.5 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4532, allocations: 37.23 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.4533, allocations: 41.39 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.4535, allocations: 90.67 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4535, allocations: 0 / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002794/0.4538, allocations: 139.5 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.4538, allocations: 6.594 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.4538, allocations: 1.078 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4539, allocations: 4.047 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.454, allocations: 29.12 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.454, allocations: 0.8438 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.454, allocations: 12.8 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.454, allocations: 3.062 kB / 0.5238 GB, free: 15.46 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 (13): * Single equations (assignments): 13 * 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.0001199/0.4542, allocations: 135.4 kB / 0.5239 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.4542, allocations: 15.22 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.4546, allocations: 160.4 kB / 0.5241 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4546, allocations: 2.344 kB / 0.5241 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4546, allocations: 0.6562 kB / 0.5241 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4546, allocations: 4.656 kB / 0.5241 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.4553, allocations: 473.7 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4553, allocations: 3.938 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.4554, allocations: 25 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.4554, allocations: 1.828 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4554, allocations: 6.562 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4554, allocations: 4.641 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4554, allocations: 1.094 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.4558, allocations: 247.7 kB / 0.5248 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.4558, allocations: 93.75 kB / 0.5249 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.4559, allocations: 1.797 kB / 0.5249 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.456, allocations: 13.62 kB / 0.5249 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.456, allocations: 12.69 kB / 0.5249 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.456, allocations: 3.891 kB / 0.5249 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.4562, allocations: 171.6 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4562, allocations: 0 / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.4565, allocations: 23.52 kB / 0.5251 GB, free: 14.45 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 (13): * Single equations (assignments): 13 * 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.002129/0.4586, allocations: 1.121 MB / 0.5262 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.4589, allocations: 102.5 kB / 0.5263 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4589, allocations: 0 / 0.5263 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.459, allocations: 55.45 kB / 0.5264 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.4593, allocations: 20.33 kB / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.4614, allocations: 1.82 MB / 0.5282 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4618, allocations: 0.7172 MB / 0.5289 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.4619, allocations: 16.88 kB / 0.5289 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.462, allocations: 43.83 kB / 0.5289 GB, free: 11.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.462, allocations: 0 / 0.5289 GB, free: 11.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.4863, allocations: 3.439 MB / 0.5323 GB, free: 9.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.35, allocations: 3.875 kB / 0.5323 GB, free: 9.82 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_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_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches