Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.001303/0.001303, allocations: 113.4 kB / 16.41 MB, free: 6.496 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.001381/0.001381, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2049/0.2049, allocations: 43.52 MB / 314.1 MB, free: 476 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.002248/0.002248, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1047, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002835/0.1075, allocations: 1.57 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.1082, allocations: 339.5 kB / 0.4893 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1083, allocations: 0 / 0.4893 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1086, allocations: 87.75 kB / 0.4894 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1088, allocations: 83.72 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.109, allocations: 83.81 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1092, allocations: 83.8 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.1093, allocations: 28.09 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.1094, allocations: 43.89 kB / 0.4897 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1095, allocations: 51.83 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1095, allocations: 4 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.1096, allocations: 35.97 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.1096, allocations: 23.92 kB / 0.4898 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.1097, allocations: 31.75 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1099, allocations: 111.4 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1099, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1099, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1099, allocations: 0 / 0.4899 GB, free: 9.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005077/0.1104, allocations: 422.7 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1105, allocations: 15.83 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.1105, allocations: 38.75 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1106, allocations: 12.84 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1108, allocations: 200.2 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1108, allocations: 4.375 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1108, allocations: 8.125 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.111, allocations: 83.27 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.111, allocations: 0 / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.111, allocations: 4 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.111, allocations: 0 / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1111, allocations: 39.91 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1116, allocations: 400.9 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1119, allocations: 89.16 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.112, allocations: 33.8 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.112, allocations: 0 / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1121, allocations: 34.56 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1121, allocations: 0 / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007187/0.1128, allocations: 237.1 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1128, allocations: 85.05 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1131, allocations: 231.6 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1131, allocations: 29.7 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1132, allocations: 116 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1132, allocations: 35.73 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1133, allocations: 21.72 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1134, allocations: 322.8 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.1135, allocations: 35.91 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.1136, allocations: 49.69 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1138, allocations: 93.8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1138, allocations: 0 / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002526/0.1141, allocations: 121.5 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1141, allocations: 8 kB / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1141, allocations: 0 / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1141, allocations: 0 / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.1142, allocations: 19.98 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1142, allocations: 3.938 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.1143, allocations: 19.92 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1143, allocations: 4 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001087/0.1144, allocations: 137.7 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.1145, allocations: 16.47 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.1148, allocations: 154.5 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1148, allocations: 192 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1148, allocations: 7.938 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1148, allocations: 3.938 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.1155, allocations: 0.5066 MB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1155, allocations: 3.938 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.1156, allocations: 23.92 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1156, allocations: 0 / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1156, allocations: 4 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1156, allocations: 4.031 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1156, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.116, allocations: 299.5 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.116, allocations: 92.95 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1161, allocations: 4 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1162, allocations: 11.98 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1162, allocations: 4 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1162, allocations: 4 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1164, allocations: 175.2 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1164, allocations: 0 / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1167, allocations: 19.94 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001942/0.1186, allocations: 1.147 MB / 0.4951 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1189, allocations: 83.95 kB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1189, allocations: 0 / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.119, allocations: 47.91 kB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1195, allocations: 15.98 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.1216, allocations: 1.866 MB / 0.4971 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1219, allocations: 0.7196 MB / 0.4978 GB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.122, allocations: 20.41 kB / 0.4978 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.1221, allocations: 43.42 kB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1221, allocations: 0 / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.146, allocations: 3.153 MB / 0.5009 GB, free: 13.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/7.97, allocations: 4.234 kB / 0.5009 GB, free: 13.92 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches