Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24",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.001438/0.001438, 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.001487/0.001487, 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.477/1.477, 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.1981/0.1981, allocations: 43.53 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.001515/0.001515, allocations: 73.61 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1155, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.003109/0.1187, allocations: 1.55 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1201, allocations: 0.9495 MB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.1202, allocations: 0 / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1205, allocations: 23.84 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1207, allocations: 47.78 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.121, allocations: 91.75 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1212, allocations: 63.83 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1213, allocations: 15.97 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.1214, allocations: 15.94 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1215, allocations: 35.83 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1215, allocations: 3.938 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1217, allocations: 47.98 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1217, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.1218, allocations: 27.84 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.122, allocations: 83.78 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.122, allocations: 4 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.122, allocations: 0 / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.122, allocations: 0 / 0.4903 GB, free: 9.301 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.0004932/0.1225, allocations: 391.1 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1226, allocations: 11.89 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.1226, allocations: 34.69 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1227, allocations: 8.844 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1229, allocations: 180.3 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1229, allocations: 8.359 kB / 0.4909 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1229, allocations: 4.375 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1231, allocations: 63.34 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1231, allocations: 0 / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1231, allocations: 0 / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1231, allocations: 0 / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.1232, allocations: 31.91 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1236, allocations: 280.9 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1239, allocations: 46.56 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.1239, allocations: 12.94 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.124, allocations: 4 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.124, allocations: 38.5 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.124, allocations: 4 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005386/0.1245, allocations: 141.4 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1246, allocations: 81.05 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1247, allocations: 129.8 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1248, allocations: 29.7 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.1249, allocations: 92.05 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1249, allocations: 31.67 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.1249, allocations: 17.66 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.125, allocations: 322.8 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.1251, allocations: 19.97 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1252, allocations: 33.7 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1253, allocations: 56.86 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1253, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001778/0.1255, allocations: 93.69 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1255, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1256, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1256, allocations: 4.281 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.1256, allocations: 11.98 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1256, allocations: 0 / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.1257, allocations: 8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1257, 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.465e-05/0.1258, allocations: 117.8 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1258, allocations: 11.89 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1261, allocations: 101.5 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1261, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1261, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1261, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.1265, allocations: 354.5 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1265, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.1266, allocations: 11.98 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1266, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1266, allocations: 8 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1266, allocations: 7.922 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1266, allocations: 3.938 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1269, allocations: 179.6 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.1269, allocations: 81.17 kB / 0.4932 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1269, allocations: 4 kB / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1271, allocations: 11.92 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1271, allocations: 4 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1271, allocations: 4 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.1272, allocations: 111.8 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.1272, allocations: 0 / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1275, allocations: 27.92 kB / 0.4934 GB, free: 5.766 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.001346/0.1288, allocations: 1.048 MB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1291, allocations: 47.97 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1291, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.1292, allocations: 31.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.0003068/0.1295, 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.001437/0.1309, 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.0002476/0.1312, allocations: 0.6885 MB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.844e-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 5.28e-05/0.1313, allocations: 23.42 kB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-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.02079/0.1521, allocations: 2.769 MB / 0.4993 GB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.568, allocations: 19.97 kB / 0.4993 GB, free: 15.54 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.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