Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001231/0.001232, 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.001265/0.001265, 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.407/1.407, 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.2271/0.2271, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3922, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002804/0.395, allocations: 1.566 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007145/0.3958, allocations: 408.7 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.3958, allocations: 5.125 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.3961, allocations: 28.39 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3963, allocations: 37.41 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.3966, allocations: 116 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3967, allocations: 54.41 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3968, allocations: 13.08 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.3969, allocations: 18.58 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.397, allocations: 20.38 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.397, allocations: 2.469 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.3971, allocations: 38.05 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.3971, allocations: 16.64 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.3972, allocations: 24.58 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3973, allocations: 76.05 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3973, allocations: 0 / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3973, allocations: 1.312 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3974, allocations: 0 / 0.5208 GB, free: 1.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004081/0.3978, allocations: 384.1 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3978, allocations: 9.188 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.496e-05/0.3979, allocations: 40.78 kB / 0.5212 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.3979, allocations: 12.69 kB / 0.5212 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.398, allocations: 192.5 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3981, allocations: 5.531 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3981, allocations: 1.5 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3982, allocations: 54.28 kB / 0.5215 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3982, allocations: 0 / 0.5215 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.3983, allocations: 3.938 kB / 0.5215 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3983, allocations: 1.844 kB / 0.5215 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.3984, allocations: 27.75 kB / 0.5215 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3987, allocations: 281.5 kB / 0.5218 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3989, allocations: 46.14 kB / 0.5218 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.399, allocations: 18.81 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.399, allocations: 0 / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3991, allocations: 40.34 kB / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3991, allocations: 0 / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005484/0.3996, allocations: 151.4 kB / 0.522 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.3996, allocations: 53.17 kB / 0.5221 GB, free: 0.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3998, allocations: 163.9 kB / 0.5222 GB, free: 396 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.3998, allocations: 30.73 kB / 0.5222 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3998, allocations: 101.8 kB / 0.5223 GB, free: 260 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3999, allocations: 12.94 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.3999, allocations: 18.42 kB / 0.5224 GB, free: 232 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4, allocations: 324.6 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.4001, allocations: 19.77 kB / 0.5227 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.4002, allocations: 21.56 kB / 0.5227 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.4003, allocations: 60.03 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4003, allocations: 0 / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002044/0.4005, allocations: 85.59 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4006, allocations: 5.125 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4006, allocations: 0.7031 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4006, allocations: 1.062 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.4007, allocations: 11.67 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4007, allocations: 1.922 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.4007, allocations: 11.56 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4007, allocations: 6.094 kB / 0.5229 GB, free: 15.81 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 (5): * Single equations (assignments): 5 * 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.768e-05/0.4008, allocations: 122.5 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.4009, allocations: 8.172 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.4011, allocations: 95.64 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4012, allocations: 288 / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4012, allocations: 1.375 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4012, allocations: 8.547 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.4017, allocations: 367.4 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4017, allocations: 0 / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.4017, allocations: 16.28 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4017, allocations: 1.609 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4018, allocations: 0 / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4018, allocations: 5.781 kB / 0.5235 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4018, allocations: 0 / 0.5235 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.402, allocations: 185.5 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4021, allocations: 83.95 kB / 0.5237 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4021, allocations: 5.625 kB / 0.5238 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.4022, allocations: 9.469 kB / 0.5238 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.4022, allocations: 6.891 kB / 0.5238 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4022, allocations: 2.219 kB / 0.5238 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.4024, allocations: 130.5 kB / 0.5239 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4024, allocations: 0 / 0.5239 GB, free: 14.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000256/0.4026, allocations: 19.52 kB / 0.5239 GB, free: 14.91 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 (5): * Single equations (assignments): 5 * 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.001933/0.4046, allocations: 1.001 MB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.4048, allocations: 60.62 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4048, allocations: 0 / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.4049, allocations: 27.12 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.4053, allocations: 17.34 kB / 0.525 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.4072, allocations: 1.503 MB / 0.5265 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.4075, allocations: 0.6969 MB / 0.5271 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.4076, allocations: 9.672 kB / 0.5272 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.4077, allocations: 27.95 kB / 0.5272 GB, free: 12.1 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4077, allocations: 0 / 0.5272 GB, free: 12.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.432, allocations: 2.591 MB / 0.5297 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.253, allocations: 16.45 kB / 0.5297 GB, free: 11.12 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches