Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001116/0.001116, 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.001173/0.001173, allocations: 179.9 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2209/0.2209, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4012, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00255/0.4038, allocations: 1.592 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.4045, allocations: 405.6 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.4046, allocations: 1.25 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4048, allocations: 68.03 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.405, allocations: 62.22 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.4053, allocations: 88.25 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.4055, allocations: 72.34 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.4056, allocations: 14.12 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.4056, allocations: 39.64 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.4058, allocations: 47.78 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4058, allocations: 3.25 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.4059, allocations: 42.41 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.4059, allocations: 22.78 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.406, allocations: 26.14 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.4062, allocations: 101.5 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4062, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4062, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4062, allocations: 1.219 kB / 0.521 GB, free: 1.695 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.000421/0.4066, allocations: 401.6 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4067, allocations: 10.78 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.4067, allocations: 31.55 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4067, allocations: 14 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4069, allocations: 200 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.4069, allocations: 2.5 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.407, allocations: 10.34 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4071, allocations: 56.12 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4071, allocations: 1.766 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4071, allocations: 0 / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4071, allocations: 1.531 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.4073, allocations: 24.88 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.4076, allocations: 296.8 kB / 0.522 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.4077, allocations: 42.09 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.4077, allocations: 19.23 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.4078, allocations: 1.031 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.4078, allocations: 36.25 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4078, allocations: 4 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008105/0.4086, allocations: 215.6 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.4086, allocations: 56.5 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.4088, allocations: 190.7 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4088, allocations: 29.7 kB / 0.5225 GB, free: 284 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.4089, allocations: 104.3 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4089, allocations: 29.73 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.4089, allocations: 20.62 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.409, allocations: 322.3 kB / 0.523 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.4091, allocations: 25.58 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.4092, allocations: 26.92 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.4093, allocations: 66.98 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4094, allocations: 1.094 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002078/0.4096, allocations: 92.84 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4096, allocations: 5.641 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4096, allocations: 4.031 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4096, allocations: 5.234 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4097, allocations: 25.14 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4098, allocations: 13.03 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.4098, allocations: 5.203 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.4098, allocations: 1.625 kB / 0.5232 GB, free: 15.7 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.0001115/0.4099, allocations: 121.6 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.41, allocations: 13.16 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.4103, allocations: 121.5 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4103, allocations: 1.562 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4103, allocations: 7.938 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4103, allocations: 2.281 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.4109, allocations: 396.9 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4109, allocations: 5.797 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.411, allocations: 16.12 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.411, allocations: 1.125 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.411, allocations: 1.734 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.411, allocations: 5.344 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.411, allocations: 1.094 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4113, allocations: 210.9 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.4113, allocations: 88.53 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.4113, allocations: 5.25 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.4114, allocations: 9.281 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.4115, allocations: 5.5 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4115, allocations: 8.047 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.4116, allocations: 145.7 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4116, allocations: 1.156 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.4119, allocations: 18.75 kB / 0.5244 GB, free: 14.76 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.001499/0.4134, allocations: 1.099 MB / 0.5254 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.4136, allocations: 60.05 kB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4136, allocations: 0 / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.4137, allocations: 34.8 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.414, allocations: 30.52 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4157, allocations: 1.602 MB / 0.5271 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.416, allocations: 0.7037 MB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.416, allocations: 14.11 kB / 0.5278 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.4161, allocations: 27.92 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4161, allocations: 4 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07508/0.4912, allocations: 2.965 MB / 0.5308 GB, free: 10.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.694, allocations: 8.906 kB / 0.5308 GB, free: 10.59 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_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_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches