Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001621/0.001621, allocations: 112.8 kB / 17.78 MB, free: 5.305 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.001535/0.001535, allocations: 180.1 kB / 18.71 MB, free: 4.383 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2111/0.2111, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3886, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002765/0.3914, allocations: 1.582 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.3922, allocations: 416.8 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.3922, allocations: 1.031 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.3926, allocations: 106.3 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3928, allocations: 81.94 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.3931, allocations: 108.2 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3933, allocations: 78.94 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3934, allocations: 15.8 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.3935, allocations: 46.12 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3936, allocations: 65.69 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3937, allocations: 2.188 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.3938, allocations: 40.08 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.3938, allocations: 31.03 kB / 0.521 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.3939, allocations: 33.42 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3941, allocations: 117.7 kB / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3941, allocations: 0 / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3941, allocations: 0 / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3941, allocations: 1.031 kB / 0.5211 GB, free: 1.652 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.0004479/0.3946, allocations: 420.2 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3946, allocations: 8.969 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.3947, allocations: 32.58 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.3947, allocations: 15.11 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3949, allocations: 207.7 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-06/0.3949, allocations: 1.469 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3949, allocations: 10.91 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3951, allocations: 57.61 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3951, allocations: 0 / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3951, allocations: 1.688 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3951, allocations: 1.156 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3952, allocations: 28.97 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3956, allocations: 312.3 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3957, allocations: 49.02 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.3958, allocations: 24.08 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3958, allocations: 2 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.3958, allocations: 31.91 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3958, allocations: 4 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009588/0.3968, allocations: 239.6 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.3968, allocations: 57.45 kB / 0.5225 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.397, allocations: 239 kB / 0.5228 GB, free: 220 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.3971, allocations: 29.7 kB / 0.5228 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.3971, allocations: 118.2 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.3971, allocations: 24.95 kB / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3972, allocations: 21.84 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3974, allocations: 327.4 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3975, allocations: 30.42 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.3976, allocations: 31.3 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3977, allocations: 75.23 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3978, allocations: 1.25 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002419/0.398, allocations: 104.5 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.398, allocations: 5.75 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.398, allocations: 0 / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3981, allocations: 2.016 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3982, allocations: 20.84 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3982, allocations: 8.594 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.3982, allocations: 9 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3983, allocations: 2.406 kB / 0.5235 GB, free: 15.6 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.0001163/0.3984, allocations: 132.9 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3984, allocations: 17.27 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3987, allocations: 134.6 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3987, allocations: 1.531 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3988, allocations: 7.938 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3988, allocations: 8.484 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.3994, allocations: 429.5 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3994, allocations: 7.938 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.3995, allocations: 17.17 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3995, allocations: 1.062 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.3995, allocations: 1.188 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3995, allocations: 5.891 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3995, allocations: 1.125 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.3999, allocations: 210.5 kB / 0.5245 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.4, allocations: 92.39 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4, allocations: 2.281 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.4001, allocations: 8.516 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.4001, allocations: 9.953 kB / 0.5246 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4002, allocations: 4.188 kB / 0.5246 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.4003, allocations: 182.6 kB / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4003, allocations: 0 / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.4006, allocations: 20.8 kB / 0.5248 GB, free: 14.62 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.002246/0.4029, allocations: 1.117 MB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.4032, allocations: 72.33 kB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4032, allocations: 0 / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.4033, allocations: 41.5 kB / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.4037, allocations: 15.91 kB / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.4062, allocations: 1.771 MB / 0.5277 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.4067, allocations: 0.7137 MB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.4068, allocations: 21.58 kB / 0.5284 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.4069, allocations: 32.92 kB / 0.5285 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.407, allocations: 4 kB / 0.5285 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4327, allocations: 3.256 MB / 0.5317 GB, free: 10.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.175, allocations: 7.125 kB / 0.5317 GB, free: 10.14 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches