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.00172/0.00172, allocations: 109.4 kB / 16.41 MB, free: 6.484 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.002301/0.002301, allocations: 191.5 kB / 17.34 MB, free: 5.766 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.707/1.707, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2716/0.2716, allocations: 43.52 MB / 314.1 MB, free: 456 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.001578/0.001578, allocations: 69.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.131, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003336/0.1343, allocations: 1.558 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1359, allocations: 0.9533 MB / 0.4899 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.136, allocations: 4 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1363, allocations: 19.84 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1366, allocations: 43.78 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.137, allocations: 91.81 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1372, allocations: 63.83 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1373, allocations: 15.97 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.1373, allocations: 19.88 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1375, allocations: 35.83 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1376, allocations: 4 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1377, allocations: 43.98 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.1377, allocations: 8 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1378, allocations: 23.84 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.138, allocations: 87.78 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.138, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.138, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.138, allocations: 0 / 0.4903 GB, free: 9.32 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.0005559/0.1386, allocations: 391.1 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1386, allocations: 15.89 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.1387, allocations: 34.75 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1387, allocations: 8.844 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.139, allocations: 188.2 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.139, allocations: 4.375 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.139, allocations: 384 / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1392, allocations: 71.28 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1392, allocations: 0 / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1392, allocations: 0 / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1392, allocations: 0 / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1393, allocations: 27.97 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1398, allocations: 276.9 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.14, allocations: 42.5 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.1401, allocations: 20.94 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1401, allocations: 0 / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1401, allocations: 34.56 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1402, allocations: 4 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000611/0.1408, allocations: 145.3 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.1408, allocations: 81.11 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.141, allocations: 129.8 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.141, allocations: 25.7 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.1411, allocations: 99.98 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1411, allocations: 23.73 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.1411, allocations: 21.66 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1413, allocations: 322.8 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.1414, allocations: 19.98 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.1414, allocations: 37.77 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1416, allocations: 52.86 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1416, allocations: 0 / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.1418, allocations: 93.5 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1418, allocations: 4 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1418, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1419, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.1419, allocations: 15.98 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1419, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.142, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.142, allocations: 7.938 kB / 0.4924 GB, free: 6.91 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.926e-05/0.1421, allocations: 117.8 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.1421, allocations: 11.89 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.1424, allocations: 93.56 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1424, allocations: 4 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1424, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1424, allocations: 288 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.1429, allocations: 354.8 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1429, allocations: 8 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.143, allocations: 11.98 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.143, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.143, allocations: 3.984 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.143, allocations: 7.938 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.143, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1432, allocations: 187.4 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.1433, allocations: 81.11 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1433, allocations: 0 / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1434, allocations: 11.92 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1434, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1435, allocations: 4 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.1435, allocations: 103.8 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.1435, allocations: 4 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1438, allocations: 31.88 kB / 0.4934 GB, free: 5.785 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.001358/0.1452, allocations: 1.045 MB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1454, allocations: 55.91 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1454, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.1455, allocations: 27.97 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1459, allocations: 15.94 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1474, allocations: 1.416 MB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1477, allocations: 0.6846 MB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.1478, allocations: 24.41 kB / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.1479, allocations: 27.38 kB / 0.4966 GB, free: 2.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1479, allocations: 4 kB / 0.4966 GB, free: 2.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.1699, allocations: 2.761 MB / 0.4993 GB, free: 15.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/7.895, allocations: 7.969 kB / 0.4993 GB, free: 15.57 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