Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.001371/0.001371, allocations: 112.7 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.001253/0.001253, allocations: 180.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.439/1.439, 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.2182/0.2182, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003218/0.3941, allocations: 1.582 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000781/0.395, allocations: 405.1 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.395, allocations: 0 / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008638/0.3959, allocations: 450 kB / 0.5208 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.3964, allocations: 248.2 kB / 0.521 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.3969, allocations: 134.9 kB / 0.5212 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.3972, allocations: 146.4 kB / 0.5213 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3973, allocations: 12.06 kB / 0.5213 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3975, allocations: 110.3 kB / 0.5214 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.3978, allocations: 209 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3978, allocations: 2.094 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.3979, allocations: 19.67 kB / 0.5216 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.398, allocations: 80.39 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.3981, allocations: 99.83 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.3984, allocations: 247.1 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3985, allocations: 0 / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3985, allocations: 3.938 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3985, allocations: 0 / 0.5221 GB, free: 1.547 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.0006482/0.3991, allocations: 0.6469 MB / 0.5227 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3992, allocations: 9.5 kB / 0.5227 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.3992, allocations: 32.5 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.3993, allocations: 47.36 kB / 0.5228 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3995, allocations: 298.4 kB / 0.5231 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3995, allocations: 6.344 kB / 0.5231 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.3996, allocations: 384 / 0.5231 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3997, allocations: 49.5 kB / 0.5231 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3997, allocations: 4 kB / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3997, allocations: 0 / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3997, allocations: 0 / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.3998, allocations: 25.36 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.4003, allocations: 381.2 kB / 0.5235 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.4004, allocations: 28.89 kB / 0.5235 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.4004, allocations: 21.23 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4004, allocations: 0.6562 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.4005, allocations: 36.3 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4005, allocations: 0 / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002584/0.4007, allocations: 100.4 kB / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.4008, allocations: 51.41 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.4018, allocations: 0.8636 MB / 0.5246 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.4018, allocations: 25.7 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.4021, allocations: 223.1 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.4021, allocations: 8.953 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.4022, allocations: 13.27 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4024, allocations: 366.2 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.4024, allocations: 6.266 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.4024, allocations: 7.109 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.4025, allocations: 31.94 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4025, allocations: 0 / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001615/0.4027, allocations: 89.34 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4027, allocations: 6.312 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4027, allocations: 0.5625 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4028, allocations: 0 / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.4028, allocations: 6.5 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4029, allocations: 0 / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.4029, allocations: 7.625 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4029, allocations: 1.438 kB / 0.5253 GB, free: 15.06 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 (2): * Single equations (assignments): 2 * 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.0002092/0.4031, allocations: 214.6 kB / 0.5255 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.4032, allocations: 42.48 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.4034, allocations: 118.9 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4035, allocations: 1.062 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4035, allocations: 4 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4035, allocations: 5.703 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.4038, allocations: 285.6 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4038, allocations: 1.125 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.4039, allocations: 5.078 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4039, allocations: 1.344 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4039, allocations: 3.938 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4039, allocations: 1.375 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4039, allocations: 0.8906 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.4041, allocations: 196.2 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4042, allocations: 116.8 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4043, allocations: 2.172 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.4044, allocations: 1.984 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.4044, allocations: 2.172 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4044, allocations: 1.891 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000709/0.4051, allocations: 0.6532 MB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4051, allocations: 0 / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.4054, allocations: 26.59 kB / 0.527 GB, free: 14.02 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 (2): * Single equations (assignments): 2 * 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.001644/0.407, allocations: 0.9498 MB / 0.5279 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.4072, allocations: 24.39 kB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4072, allocations: 1.031 kB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.4072, allocations: 10.91 kB / 0.5279 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.4077, allocations: 24.5 kB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.4114, allocations: 3.122 MB / 0.531 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.4119, allocations: 0.8199 MB / 0.5318 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.412, allocations: 13.17 kB / 0.5318 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4121, allocations: 106.4 kB / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4122, allocations: 0 / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.4403, allocations: 5.7 MB / 0.5375 GB, free: 7.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.8, allocations: 13.84 kB / 0.5375 GB, free: 7.406 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches