Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",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.001118/0.001118, allocations: 108.1 kB / 16.41 MB, free: 6.027 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.001195/0.001195, allocations: 197.3 kB / 17.35 MB, free: 5.605 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.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2416/0.2416, allocations: 43.53 MB / 314.1 MB, free: 464 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.002428/0.002429, allocations: 65.47 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1472, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.004426/0.1517, allocations: 1.558 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1535, allocations: 0.9456 MB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.1536, allocations: 0 / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.154, allocations: 27.84 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.1542, allocations: 43.78 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1546, allocations: 91.81 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1549, allocations: 59.78 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.155, allocations: 23.95 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.1551, allocations: 15.94 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1553, allocations: 27.84 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1554, allocations: 4 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1556, allocations: 51.97 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1556, allocations: 8 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.1557, allocations: 23.86 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.156, allocations: 91.7 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.156, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.156, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.156, allocations: 3.938 kB / 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.0008227/0.1569, allocations: 383.2 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/0.157, allocations: 11.89 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.157, allocations: 34.75 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.1571, allocations: 8.844 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1574, allocations: 180.3 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1574, allocations: 8.375 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1574, allocations: 4.375 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1576, allocations: 63.28 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1577, allocations: 0 / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1577, allocations: 8 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1577, allocations: 0 / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1578, allocations: 23.97 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1583, allocations: 284.9 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1586, allocations: 42.5 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1586, allocations: 20.94 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1587, allocations: 0 / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1587, allocations: 34.56 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1587, allocations: 4 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006896/0.1594, allocations: 145.6 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.1595, allocations: 77.11 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1597, allocations: 137.8 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1597, allocations: 29.64 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.1598, allocations: 96.05 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1598, allocations: 19.73 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.1599, allocations: 21.72 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1601, allocations: 318.8 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.1602, allocations: 19.98 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.1603, allocations: 37.7 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1604, allocations: 52.98 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1604, allocations: 0 / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002155/0.1607, allocations: 89.56 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1607, allocations: 8 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1607, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1607, allocations: 3.984 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.1608, allocations: 11.98 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1608, allocations: 4 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1609, allocations: 8 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1609, allocations: 7.938 kB / 0.4924 GB, free: 6.914 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.0001102/0.161, allocations: 121.7 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.161, allocations: 11.89 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1613, allocations: 93.61 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1613, allocations: 0 / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1614, allocations: 0 / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1614, allocations: 8 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.1619, allocations: 350.4 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1619, allocations: 0 / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.1619, allocations: 15.98 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1619, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.162, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.162, allocations: 3.938 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.162, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1622, allocations: 187.6 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.1623, allocations: 77.11 kB / 0.4932 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1623, allocations: 8 kB / 0.4932 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.1624, allocations: 11.86 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1624, allocations: 4 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1625, allocations: 3.938 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.1626, allocations: 111.2 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1626, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1628, allocations: 24 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.00155/0.1644, allocations: 1.047 MB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1647, allocations: 51.91 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1647, allocations: 0 / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.1648, allocations: 27.97 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1652, allocations: 19.92 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1671, allocations: 1.424 MB / 0.4959 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1674, allocations: 0.6846 MB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.1675, allocations: 15.97 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.1676, allocations: 23.44 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1676, allocations: 0 / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.1963, allocations: 2.775 MB / 0.4993 GB, free: 15.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.008, allocations: 7.969 kB / 0.4993 GB, free: 15.57 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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