Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.001421/0.001421, 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.001722/0.001722, 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2299/0.2299, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4183, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002624/0.421, allocations: 1.585 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.4217, allocations: 414.5 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.4218, allocations: 9.219 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.4221, allocations: 88.41 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.4223, allocations: 67.69 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.4226, allocations: 111.2 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4228, allocations: 79.91 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4229, allocations: 15.11 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.423, allocations: 43.7 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4231, allocations: 49.52 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.4231, allocations: 3.281 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.4232, allocations: 46.78 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.4233, allocations: 24.72 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.4233, allocations: 31.2 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.4235, allocations: 109.2 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4235, allocations: 0.7031 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4235, allocations: 1.188 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4235, allocations: 0 / 0.521 GB, free: 1.656 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.0004256/0.424, allocations: 408.6 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.424, allocations: 13.95 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.424, allocations: 37.38 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.4241, allocations: 18.77 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4242, allocations: 203.6 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.4243, allocations: 1.562 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.4243, allocations: 6.031 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4244, allocations: 53.67 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4244, allocations: 0 / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.4245, allocations: 0.9688 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4245, allocations: 1.781 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.4246, allocations: 30.05 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.425, allocations: 306.2 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.4251, allocations: 45.39 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.4251, allocations: 15.38 kB / 0.5221 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4251, allocations: 0.7969 kB / 0.5221 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4252, allocations: 43.69 kB / 0.5222 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4252, allocations: 1.219 kB / 0.5222 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008895/0.4261, allocations: 230.3 kB / 0.5224 GB, free: 456 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.4261, allocations: 62.33 kB / 0.5225 GB, free: 384 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.4263, allocations: 228.2 kB / 0.5227 GB, free: 240 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4263, allocations: 27.14 kB / 0.5227 GB, free: 208 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.4264, allocations: 104.7 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4264, allocations: 28.72 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.4265, allocations: 25.84 kB / 0.5229 GB, free: 60 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4266, allocations: 323.1 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.4267, allocations: 29.88 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.4268, allocations: 34.69 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.427, allocations: 76.53 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.427, allocations: 0 / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002322/0.4272, allocations: 117.3 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4272, allocations: 5.469 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4272, allocations: 8.297 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4273, allocations: 2 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.4274, allocations: 16.5 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4274, allocations: 8.844 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.4274, allocations: 8.547 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4274, allocations: 3.109 kB / 0.5235 GB, free: 15.61 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.000104/0.4276, allocations: 130 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4276, allocations: 13.38 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.4279, allocations: 132.7 kB / 0.5237 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4279, allocations: 4 kB / 0.5237 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4279, allocations: 11.02 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4279, allocations: 0 / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.4285, allocations: 412.6 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4285, allocations: 5 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.4286, allocations: 17.89 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4286, allocations: 1.219 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4286, allocations: 9.859 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4286, allocations: 1.156 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4286, allocations: 3.938 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.4289, allocations: 210.7 kB / 0.5244 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.429, allocations: 88.62 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.429, allocations: 2.344 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.4291, allocations: 7.953 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.4291, allocations: 10.95 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4291, allocations: 2.969 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.4293, allocations: 169.1 kB / 0.5246 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4293, allocations: 0 / 0.5246 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.4295, allocations: 23.67 kB / 0.5247 GB, free: 14.65 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.001502/0.4311, allocations: 1.11 MB / 0.5257 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4313, allocations: 80.89 kB / 0.5258 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4313, allocations: 0 / 0.5258 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.4314, allocations: 37.14 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4318, allocations: 18.86 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.4338, allocations: 1.711 MB / 0.5275 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4342, allocations: 0.7153 MB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.902e-05/0.4342, allocations: 20.98 kB / 0.5283 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.4343, allocations: 36.31 kB / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4343, allocations: 0 / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.4603, allocations: 3.143 MB / 0.5314 GB, free: 10.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.163, allocations: 10.58 kB / 0.5314 GB, free: 10.27 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_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_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches