Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001629/0.00163, allocations: 114.4 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.001766/0.001766, 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.488/1.488, 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.236/0.236, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4103, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002939/0.4132, allocations: 1.585 MB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.4148, allocations: 1.026 MB / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.4148, allocations: 0 / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.4151, allocations: 20.19 kB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.4153, allocations: 46.59 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.4156, allocations: 85.02 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.4157, allocations: 68.39 kB / 0.5212 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4158, allocations: 19 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.4159, allocations: 23.81 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.4161, allocations: 35.5 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4161, allocations: 4.75 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4162, allocations: 49.59 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.4163, allocations: 10.78 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.4163, allocations: 26.23 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.4165, allocations: 104 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4165, allocations: 0 / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4165, allocations: 3.938 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4166, allocations: 1.844 kB / 0.5215 GB, free: 1.211 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004327/0.417, allocations: 389.5 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.417, allocations: 8.938 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.4171, allocations: 34.12 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.4171, allocations: 8.172 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.4173, allocations: 196.4 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.4173, allocations: 6.312 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4173, allocations: 6.562 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4175, allocations: 73.09 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4175, allocations: 0 / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4175, allocations: 6.094 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4175, allocations: 1.469 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4176, allocations: 32.61 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.418, allocations: 296.7 kB / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.4181, allocations: 56.72 kB / 0.5225 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.4182, allocations: 20.91 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4182, allocations: 1.438 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4182, allocations: 36.31 kB / 0.5226 GB, free: 96 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.4183, allocations: 4 kB / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006268/0.4189, allocations: 173.9 kB / 0.5228 GB, free: 12 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.419, allocations: 79.06 kB / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4192, allocations: 143.9 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4192, allocations: 25.7 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.4193, allocations: 93.14 kB / 0.5231 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.4193, allocations: 33.81 kB / 0.5231 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4194, allocations: 25.84 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4195, allocations: 319.9 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.4196, allocations: 26.08 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.4197, allocations: 39.22 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.4199, allocations: 59.64 kB / 0.5236 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4199, allocations: 5.094 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002196/0.4201, allocations: 92.64 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4201, allocations: 5.766 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4201, allocations: 0 / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4202, allocations: 1.375 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4203, allocations: 21.59 kB / 0.5237 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4203, allocations: 3.938 kB / 0.5237 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.4203, allocations: 9.688 kB / 0.5237 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.4204, allocations: 6.469 kB / 0.5237 GB, free: 15.19 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.919e-05/0.4205, allocations: 115.7 kB / 0.5238 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.4205, allocations: 7.391 kB / 0.5238 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.4208, allocations: 117 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4208, allocations: 1.062 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.4208, allocations: 4.688 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4208, allocations: 1.156 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.4214, allocations: 390.3 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4214, allocations: 1.188 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.4215, allocations: 16.73 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4215, allocations: 6.047 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4215, allocations: 0 / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4215, allocations: 5.406 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4215, allocations: 0.5156 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.4218, allocations: 196.8 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.4219, allocations: 91.61 kB / 0.5246 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.4219, allocations: 7.516 kB / 0.5246 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.422, allocations: 6.281 kB / 0.5246 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.422, allocations: 14.25 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.422, allocations: 0.75 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.995e-05/0.4222, allocations: 111.8 kB / 0.5248 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4222, allocations: 4 kB / 0.5248 GB, free: 14.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.4224, allocations: 27.84 kB / 0.5248 GB, free: 14.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.002155/0.4246, allocations: 1.062 MB / 0.5258 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.4249, allocations: 61.72 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4249, allocations: 0 / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.425, allocations: 39.02 kB / 0.5259 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4254, allocations: 18.55 kB / 0.5259 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.4273, allocations: 1.471 MB / 0.5274 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4277, allocations: 0.6959 MB / 0.5281 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.35e-05/0.4278, allocations: 15 kB / 0.5281 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.4279, allocations: 35.98 kB / 0.5281 GB, free: 11.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4279, allocations: 0 / 0.5281 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.4538, allocations: 2.94 MB / 0.531 GB, free: 10.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.237, allocations: 8.828 kB / 0.531 GB, free: 10.15 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_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_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches