Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001148/0.001148, allocations: 113.7 kB / 16.41 MB, free: 6.457 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.00117/0.00117, allocations: 185.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2115/0.2115, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 69.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.004124/0.1063, allocations: 1.535 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.1072, allocations: 327.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.1073, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1075, allocations: 19.86 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1078, allocations: 47.72 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1081, allocations: 63.84 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1083, allocations: 55.84 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1084, allocations: 23.95 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.1085, allocations: 19.88 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.1086, allocations: 15.92 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1086, allocations: 4 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1087, allocations: 31.98 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.1088, allocations: 15.92 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.1088, allocations: 27.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.109, allocations: 79.61 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1091, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1091, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1091, allocations: 4 kB / 0.4896 GB, free: 10.01 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.0005043/0.1096, allocations: 375 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.1097, allocations: 15.88 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.1097, allocations: 30.75 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1098, allocations: 8.891 kB / 0.49 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.11, allocations: 190.9 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1101, allocations: 384 / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1101, allocations: 12.31 kB / 0.4902 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1103, allocations: 61.53 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1103, allocations: 4 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1103, allocations: 0 / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1103, allocations: 0 / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1104, allocations: 19.98 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1109, allocations: 280.8 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1112, allocations: 46.5 kB / 0.4906 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.1112, allocations: 16.94 kB / 0.4906 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1113, allocations: 4 kB / 0.4906 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1113, allocations: 30.56 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1113, allocations: 0 / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005643/0.1119, allocations: 137.4 kB / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.112, allocations: 55.41 kB / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1121, allocations: 149.8 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1121, allocations: 25.7 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.1122, allocations: 96.12 kB / 0.4911 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1122, allocations: 15.8 kB / 0.4911 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1123, allocations: 21.7 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1124, allocations: 326.8 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.1124, allocations: 19.98 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.1125, allocations: 15.98 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1126, allocations: 52.7 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1127, allocations: 0 / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001806/0.1128, allocations: 85.88 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1129, allocations: 4 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1129, allocations: 0 / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1129, allocations: 0 / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.113, allocations: 15.98 kB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.113, allocations: 0 / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.113, allocations: 15.92 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.113, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.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 8.475e-05/0.1131, allocations: 121.8 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1132, allocations: 7.953 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1134, allocations: 93.89 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1134, allocations: 3.938 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1134, allocations: 0 / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1134, allocations: 7.938 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.1139, allocations: 342.5 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1139, allocations: 4 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.1139, allocations: 12 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.114, allocations: 0 / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.114, allocations: 3.938 kB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.114, allocations: 0 / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.114, allocations: 0 / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1142, allocations: 175.5 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.1143, allocations: 89.25 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1143, allocations: 7.938 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1144, allocations: 7.984 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1144, allocations: 0 / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1144, allocations: 11.94 kB / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.1145, allocations: 118.1 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1145, allocations: 0 / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1148, allocations: 16 kB / 0.4926 GB, free: 6.578 MB / 382.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.001298/0.1161, allocations: 1.007 MB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1163, allocations: 55.84 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1163, allocations: 0 / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.1164, allocations: 27.98 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1168, allocations: 23.8 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1184, allocations: 1.417 MB / 0.4951 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1187, allocations: 0.6924 MB / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.026e-05/0.1188, allocations: 11.98 kB / 0.4958 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1188, allocations: 23.44 kB / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1188, allocations: 0 / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.1374, allocations: 2.505 MB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/7.959, allocations: 8.047 kB / 0.4983 GB, free: 0.6953 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_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_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches