Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001724/0.001724, allocations: 109 kB / 16.41 MB, free: 6.48 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.001935/0.001935, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1936/0.1936, allocations: 43.53 MB / 314.1 MB, free: 452 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.001644/0.001644, allocations: 73.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1059, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00309/0.109, allocations: 1.574 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.1098, allocations: 323.6 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.1099, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.1102, allocations: 91.73 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1105, allocations: 71.73 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1108, allocations: 83.77 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.111, allocations: 79.75 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1112, allocations: 24.17 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.1113, allocations: 39.83 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1114, allocations: 55.81 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1115, allocations: 4 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1116, allocations: 27.98 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.1117, allocations: 23.92 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.1117, allocations: 31.75 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.112, allocations: 103.6 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.112, allocations: 8 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.112, allocations: 3.938 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.112, allocations: 4 kB / 0.4899 GB, free: 9.734 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006608/0.1127, allocations: 403 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1128, allocations: 11.89 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.1128, allocations: 34.75 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.1129, allocations: 16.73 kB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1131, allocations: 196.1 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1132, allocations: 4.375 kB / 0.4905 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1132, allocations: 12.12 kB / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1134, allocations: 61.61 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1135, allocations: 0 / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1135, allocations: 3.938 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1135, allocations: 0 / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1136, allocations: 31.97 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.1141, allocations: 300.7 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1143, allocations: 62.5 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.1143, allocations: 20.97 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.1144, allocations: 4.062 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1144, allocations: 30.56 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.1144, allocations: 0 / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006462/0.1151, allocations: 193 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1151, allocations: 51.41 kB / 0.4912 GB, free: 8.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1153, allocations: 231.5 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1154, allocations: 33.69 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1154, allocations: 100.1 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1155, allocations: 31.55 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1155, allocations: 17.72 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1156, allocations: 326.8 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.1157, allocations: 31.97 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.1158, allocations: 24.05 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1159, allocations: 68.75 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.116, allocations: 0 / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001995/0.1162, allocations: 97.52 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1162, allocations: 8 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1162, allocations: 0 / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1162, allocations: 0 / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1163, allocations: 19.98 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1164, allocations: 3.938 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1164, allocations: 11.98 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1164, allocations: 384 / 0.4922 GB, free: 7.109 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 (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.0001462/0.1166, allocations: 137.7 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.1166, allocations: 15.81 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.1169, allocations: 119 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1169, allocations: 7.984 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1169, allocations: 3.938 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1169, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.1174, allocations: 394.4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1175, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.1175, allocations: 19.98 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1175, allocations: 3.938 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1176, allocations: 4 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1176, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1176, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1178, allocations: 199.7 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1179, allocations: 96.94 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1179, allocations: 4 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.118, allocations: 4 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.118, allocations: 3.984 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.118, allocations: 4 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1182, allocations: 171.2 kB / 0.4933 GB, free: 5.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1182, allocations: 0 / 0.4933 GB, free: 5.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1184, allocations: 20 kB / 0.4934 GB, free: 5.812 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 (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.001269/0.1197, allocations: 1.042 MB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1199, allocations: 63.95 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1199, allocations: 0 / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.12, allocations: 39.91 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1204, allocations: 19.98 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1223, allocations: 1.663 MB / 0.4961 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1225, allocations: 0.7118 MB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.1226, allocations: 20.95 kB / 0.4968 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.1227, allocations: 31.42 kB / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1227, allocations: 0 / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.142, allocations: 3.02 MB / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.014, allocations: 12.14 kB / 0.4998 GB, free: 15.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches