Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.00119/0.00119, allocations: 103 kB / 16.4 MB, free: 6.434 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.001304/0.001304, allocations: 192.1 kB / 17.34 MB, free: 5.727 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.534/1.534, 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.2031/0.2031, allocations: 43.52 MB / 314.1 MB, free: 472 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.001567/0.001567, allocations: 59.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003187/0.1133, allocations: 1.566 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1149, allocations: 0.9379 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.115, allocations: 4 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1153, allocations: 23.8 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1156, allocations: 51.77 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1159, allocations: 95.75 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1161, allocations: 55.83 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1162, allocations: 15.98 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.1163, allocations: 23.91 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1165, allocations: 27.86 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1165, allocations: 4 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1166, allocations: 55.91 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1167, allocations: 11.98 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.1168, allocations: 15.88 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.117, allocations: 87.77 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.117, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.117, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.117, allocations: 0 / 0.4903 GB, free: 9.324 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.0005049/0.1175, allocations: 387.1 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1176, allocations: 19.89 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1176, allocations: 30.75 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.1177, allocations: 8.844 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1179, allocations: 188.2 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1179, allocations: 4.375 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1179, allocations: 384 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1181, allocations: 67.33 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1182, allocations: 4 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1182, allocations: 4 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1182, allocations: 0 / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1183, allocations: 19.98 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1187, allocations: 280.8 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.119, allocations: 42.55 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.119, allocations: 20.86 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1191, allocations: 0 / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.1191, allocations: 38.64 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1191, allocations: 0 / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006219/0.1197, allocations: 145.4 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1198, allocations: 81.11 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.12, allocations: 133.8 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.12, allocations: 25.7 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1201, allocations: 96.03 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1201, allocations: 27.67 kB / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1202, allocations: 21.66 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1203, allocations: 318.8 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.1204, allocations: 19.98 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.1204, allocations: 45.64 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1206, allocations: 57 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1206, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.1208, allocations: 81.58 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1208, allocations: 4 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1208, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1209, allocations: 4.031 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.1209, allocations: 23.92 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.121, allocations: 0 / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.121, allocations: 4 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.121, allocations: 7.922 kB / 0.4924 GB, free: 6.906 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 0.0001038/0.1211, allocations: 117.8 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.1212, allocations: 7.906 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1214, allocations: 97.61 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1214, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1215, allocations: 4 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1215, allocations: 3.984 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.1219, allocations: 350.4 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1219, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.122, allocations: 8 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.122, allocations: 4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.122, allocations: 192 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.122, allocations: 7.938 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.122, allocations: 7.984 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1223, allocations: 175.4 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1223, allocations: 89.09 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1224, allocations: 0 / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.1224, allocations: 11.94 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1225, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1225, allocations: 7.984 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.51e-05/0.1226, allocations: 99.77 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1226, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1229, allocations: 27.94 kB / 0.4934 GB, free: 5.793 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.001348/0.1242, allocations: 1.054 MB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1244, allocations: 51.95 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1244, allocations: 4 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.1245, allocations: 27.98 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1249, allocations: 23.86 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1265, allocations: 1.404 MB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1267, allocations: 0.6885 MB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.1268, allocations: 15.98 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.1269, allocations: 27.42 kB / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1269, allocations: 0 / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.1487, allocations: 2.775 MB / 0.4993 GB, free: 15.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.485, allocations: 7.969 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time