Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23",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.001192/0.001192, allocations: 105.6 kB / 16.4 MB, free: 6.457 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.001209/0.00121, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.514/1.514, 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.2048/0.2048, allocations: 43.52 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.00151/0.00151, allocations: 73.61 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.003161/0.1159, allocations: 1.55 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1174, allocations: 0.9495 MB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.1175, allocations: 0 / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1177, allocations: 27.84 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1179, allocations: 43.78 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1182, allocations: 91.75 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1184, allocations: 63.83 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1186, allocations: 15.97 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.1186, allocations: 15.94 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.1188, allocations: 35.83 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1188, allocations: 3.938 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.119, allocations: 51.98 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.119, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.1191, allocations: 23.84 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1193, allocations: 87.78 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1193, allocations: 0 / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1193, allocations: 0 / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1193, allocations: 0 / 0.4903 GB, free: 9.305 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.00052/0.1198, allocations: 387.2 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1199, allocations: 15.88 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.12, allocations: 34.69 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.12, allocations: 8.844 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1202, allocations: 180.3 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1202, allocations: 8.375 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1203, allocations: 4.375 kB / 0.4909 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1204, allocations: 63.33 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1205, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1205, allocations: 4 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1205, allocations: 0 / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.1206, allocations: 31.91 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.121, allocations: 280.9 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1212, allocations: 42.56 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1213, allocations: 16.94 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1213, allocations: 4 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1213, allocations: 34.5 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1213, allocations: 4 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005481/0.1219, allocations: 145.4 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.1219, allocations: 81.05 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1221, allocations: 129.8 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1221, allocations: 29.7 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1222, allocations: 88.05 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1222, allocations: 27.69 kB / 0.4918 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1222, allocations: 25.64 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1223, allocations: 318.8 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.1224, allocations: 19.97 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.1225, allocations: 37.7 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1226, allocations: 56.86 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1227, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001977/0.1229, allocations: 89.69 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1229, allocations: 4 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1229, allocations: 288 / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1229, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.123, allocations: 8 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.123, allocations: 3.984 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.123, allocations: 12 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1231, allocations: 3.938 kB / 0.4924 GB, free: 6.895 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 8.712e-05/0.1231, allocations: 117.8 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1232, allocations: 11.89 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1234, allocations: 101.5 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1234, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1234, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1234, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.124, allocations: 354.5 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.124, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.1241, allocations: 11.98 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1241, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1241, allocations: 4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.1241, allocations: 7.922 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1241, allocations: 3.938 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1245, allocations: 179.6 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1246, allocations: 81.17 kB / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.1246, allocations: 8 kB / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1247, allocations: 11.92 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1248, allocations: 0 / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1248, allocations: 4 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1249, allocations: 107.8 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.325e-06/0.125, allocations: 4 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000454/0.1254, allocations: 27.92 kB / 0.4934 GB, free: 5.77 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.002069/0.1275, allocations: 1.047 MB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1278, allocations: 47.97 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1278, allocations: 0 / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.128, allocations: 35.91 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.1285, allocations: 15.94 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1307, allocations: 1.412 MB / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1311, allocations: 0.6885 MB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.945e-05/0.1312, allocations: 19.97 kB / 0.4966 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.1313, allocations: 23.42 kB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1313, allocations: 4 kB / 0.4966 GB, free: 2.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.16, allocations: 2.765 MB / 0.4993 GB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.544, allocations: 19.97 kB / 0.4993 GB, free: 15.54 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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