Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",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.002021/0.002021, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00185/0.00185, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2133/0.2133, 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.002072/0.002072, allocations: 71.84 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002783/0.1133, allocations: 1.574 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.1139, allocations: 323.5 kB / 0.4893 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.1139, allocations: 0 / 0.4893 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1142, allocations: 27.84 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1143, allocations: 47.77 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1146, allocations: 75.78 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1147, allocations: 71.75 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.1148, allocations: 24.17 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.1149, allocations: 23.92 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.115, allocations: 31.83 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.115, allocations: 4 kB / 0.4896 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.1151, allocations: 28 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1151, allocations: 15.92 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.1152, allocations: 31.75 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1154, allocations: 83.64 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1154, allocations: 8 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1154, allocations: 0 / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1154, allocations: 0 / 0.4897 GB, free: 9.934 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.0004945/0.1159, allocations: 387 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1159, allocations: 11.89 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.116, allocations: 38.73 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.116, allocations: 8.891 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1162, allocations: 200.1 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.1162, allocations: 384 / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1163, allocations: 12.12 kB / 0.4903 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1164, allocations: 57.66 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1164, allocations: 0 / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1165, allocations: 4 kB / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1165, allocations: 0 / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1166, allocations: 31.97 kB / 0.4904 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.117, allocations: 292.8 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1171, allocations: 50.56 kB / 0.4908 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.1172, allocations: 20.97 kB / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1172, allocations: 0 / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1173, allocations: 38.56 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1173, allocations: 0 / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006097/0.1179, allocations: 181.4 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1179, allocations: 59.41 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1181, allocations: 156.4 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1181, allocations: 25.7 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.1182, allocations: 92.14 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1182, allocations: 39.61 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.1183, allocations: 17.72 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1184, allocations: 326.8 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.1185, allocations: 23.98 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.1186, allocations: 24.36 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1187, allocations: 56.83 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1187, allocations: 4 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/0.119, allocations: 101.8 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.119, allocations: 4 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.119, allocations: 0 / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.119, allocations: 3.938 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1191, allocations: 23.92 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1191, allocations: 8 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.1192, allocations: 8 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1192, allocations: 0 / 0.4919 GB, free: 7.441 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.0001024/0.1193, allocations: 125.8 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1193, allocations: 15.94 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1196, allocations: 118.3 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1196, allocations: 3.938 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1196, allocations: 3.938 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1196, allocations: 0 / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1201, allocations: 378.5 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1201, allocations: 4 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.1202, allocations: 27.86 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1202, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1202, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1202, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1203, allocations: 4 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1205, allocations: 187.5 kB / 0.4927 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.1206, allocations: 93 kB / 0.4928 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1206, allocations: 0 / 0.4928 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1207, allocations: 11.98 kB / 0.4928 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.1207, allocations: 4 kB / 0.4928 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1208, allocations: 0 / 0.4928 GB, free: 6.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.1209, allocations: 122.1 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1209, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1211, allocations: 15.94 kB / 0.493 GB, free: 6.238 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.0019/0.123, allocations: 1.03 MB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1233, allocations: 63.95 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1233, allocations: 3.938 kB / 0.4941 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.1234, allocations: 39.98 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1237, allocations: 15.58 kB / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1255, allocations: 1.503 MB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1258, allocations: 0.704 MB / 0.4963 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.1259, allocations: 8.672 kB / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.1259, allocations: 31.42 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1259, allocations: 0 / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.15, allocations: 2.672 MB / 0.4989 GB, free: 64 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.059, allocations: 3.938 kB / 0.4989 GB, free: 60 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches