Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001202/0.001203, 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.001145/0.001145, 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2248/0.2248, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4067, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002638/0.4093, allocations: 1.58 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006518/0.41, allocations: 406.4 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.4101, allocations: 1.188 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.4103, allocations: 71.19 kB / 0.5205 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.4106, allocations: 68.39 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.4108, allocations: 85.3 kB / 0.5206 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.411, allocations: 73.8 kB / 0.5207 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.4111, allocations: 23.02 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.4112, allocations: 38 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.4113, allocations: 53.97 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.4113, allocations: 2.562 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.4114, allocations: 42.44 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.4114, allocations: 19.09 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.4115, allocations: 31.58 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4117, allocations: 97.84 kB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4117, allocations: 1.312 kB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4117, allocations: 3.938 kB / 0.521 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4117, allocations: 0 / 0.521 GB, free: 1.715 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.0003947/0.4121, allocations: 411.9 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4121, allocations: 9.062 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.4122, allocations: 36.59 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.4122, allocations: 10.22 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.4124, allocations: 198.5 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4124, allocations: 5.438 kB / 0.5216 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4124, allocations: 10.31 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4125, allocations: 52.94 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4126, allocations: 3.984 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.4126, allocations: 5.125 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4126, allocations: 0.75 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.4127, allocations: 24.91 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.413, allocations: 297.5 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.4131, allocations: 47.86 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.4132, allocations: 14.36 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4132, allocations: 1.969 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.4132, allocations: 35.27 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4132, allocations: 0.9375 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008351/0.414, allocations: 222.1 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.4141, allocations: 60.98 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.4143, allocations: 205.8 kB / 0.5225 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.4143, allocations: 34.77 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.4143, allocations: 105 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.4144, allocations: 24.42 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.4144, allocations: 25.73 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4145, allocations: 321.9 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.4146, allocations: 21.94 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.4147, allocations: 22.66 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4149, allocations: 67.92 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4149, allocations: 0 / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002087/0.4151, allocations: 97.33 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4151, allocations: 6.453 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4151, allocations: 0 / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4151, allocations: 0 / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.4152, allocations: 21.7 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4153, allocations: 5.469 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.4153, allocations: 13.2 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4153, allocations: 1.062 kB / 0.5233 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 8.996e-05/0.4154, allocations: 123 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.4155, allocations: 13.52 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.4157, allocations: 121.3 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4157, allocations: 2.172 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4158, allocations: 3.938 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4158, allocations: 6.219 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.4163, allocations: 403.8 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4163, allocations: 3.938 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.4164, allocations: 18 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4164, allocations: 1.031 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4164, allocations: 0.875 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4164, allocations: 0.7812 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4164, allocations: 9.969 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.4167, allocations: 207.1 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.4167, allocations: 87.94 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4167, allocations: 2.938 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.4168, allocations: 8.609 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4168, allocations: 13.41 kB / 0.5243 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.4169, allocations: 7.031 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.417, allocations: 151.3 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.417, allocations: 1.344 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.4173, allocations: 23.17 kB / 0.5244 GB, free: 14.75 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.001455/0.4187, allocations: 1.084 MB / 0.5255 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.419, allocations: 67.83 kB / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.419, allocations: 1.5 kB / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.4191, allocations: 42.45 kB / 0.5256 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.0003664/0.4194, allocations: 14.38 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.4212, allocations: 1.644 MB / 0.5272 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4215, allocations: 0.7061 MB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.4215, allocations: 10.64 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.4216, allocations: 36.09 kB / 0.528 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4216, allocations: 4 kB / 0.528 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.4416, allocations: 3.02 MB / 0.5309 GB, free: 10.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.159, allocations: 12.8 kB / 0.5309 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches