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.001195/0.001195, allocations: 103.9 kB / 16.4 MB, free: 6.5 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.001217/0.001218, allocations: 189.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.296/1.296, 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.195/0.195, 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.001397/0.001397, allocations: 65.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1077, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003098/0.1109, allocations: 1.577 MB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.1116, allocations: 327.5 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.1117, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.112, allocations: 99.73 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1123, allocations: 71.73 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1126, allocations: 91.8 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1128, allocations: 83.75 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1129, allocations: 28.16 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.113, allocations: 35.84 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1131, allocations: 59.81 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1131, allocations: 4 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.1132, allocations: 31.98 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.1133, allocations: 23.92 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.1133, allocations: 31.73 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1135, allocations: 103.6 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1135, allocations: 0 / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1135, allocations: 7.938 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1135, allocations: 4 kB / 0.4899 GB, free: 9.699 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.0004835/0.114, allocations: 414.9 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1141, allocations: 19.83 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1141, allocations: 30.75 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1142, allocations: 16.75 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1144, allocations: 200.1 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1144, allocations: 384 / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1144, allocations: 12.12 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1146, allocations: 83.31 kB / 0.4906 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1146, allocations: 3.906 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1146, allocations: 4 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1146, allocations: 0 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1147, allocations: 31.97 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.1152, allocations: 400.9 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1155, allocations: 89.16 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.1156, allocations: 29.8 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1156, allocations: 0 / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1156, allocations: 42.55 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1156, allocations: 0 / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006859/0.1163, allocations: 237.1 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1164, allocations: 89.03 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1166, allocations: 231.6 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1166, allocations: 29.7 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1167, allocations: 108.1 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1167, allocations: 31.55 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1167, allocations: 25.66 kB / 0.4919 GB, free: 7.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1168, allocations: 330.8 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.1169, allocations: 27.98 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.117, allocations: 53.62 kB / 0.4923 GB, free: 6.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1172, allocations: 89.8 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1172, allocations: 0 / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002256/0.1174, allocations: 129.5 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1175, allocations: 4 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1175, allocations: 0 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1175, allocations: 3.984 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.1176, allocations: 27.98 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1176, allocations: 3.938 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.1177, allocations: 11.92 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1177, allocations: 3.984 kB / 0.4926 GB, free: 6.672 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 9.828e-05/0.1178, allocations: 141.7 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.1178, allocations: 11.81 kB / 0.4927 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.1181, allocations: 150.8 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1182, allocations: 4 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1182, allocations: 7.938 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1182, allocations: 0 / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.1188, allocations: 0.4947 MB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1188, allocations: 3.938 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.1189, allocations: 23.92 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1189, allocations: 8.031 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1189, allocations: 4 kB / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1189, allocations: 0 / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1189, allocations: 4 kB / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1192, allocations: 295.4 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1192, allocations: 92.95 kB / 0.4938 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1193, allocations: 8 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.1194, allocations: 4.266 kB / 0.4938 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1194, allocations: 11.98 kB / 0.4938 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1194, allocations: 4 kB / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1196, allocations: 175.2 kB / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1196, allocations: 0 / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1198, allocations: 20 kB / 0.494 GB, free: 5.109 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.001308/0.1212, allocations: 1.132 MB / 0.4951 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1214, allocations: 95.81 kB / 0.4952 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1214, allocations: 0 / 0.4952 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.1215, allocations: 43.92 kB / 0.4952 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.122, allocations: 23.92 kB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1239, allocations: 1.854 MB / 0.4971 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1242, allocations: 0.7157 MB / 0.4978 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.1243, allocations: 20.8 kB / 0.4978 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1243, allocations: 39.42 kB / 0.4978 GB, free: 1.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1243, allocations: 0 / 0.4978 GB, free: 1.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1441, allocations: 3.177 MB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.825, allocations: 16.17 kB / 0.501 GB, free: 13.86 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