Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001146/0.001146, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001244/0.001244, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.444/1.444, 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.2154/0.2154, allocations: 43.52 MB / 314.1 MB, free: 476 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.002708/0.002708, allocations: 71.91 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.148, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003723/0.1518, allocations: 1.693 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1545, allocations: 1.406 MB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1547, allocations: 3.938 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.1551, allocations: 43.77 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1555, allocations: 67.69 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1559, allocations: 83.77 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1561, allocations: 99.75 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1562, allocations: 16.2 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1564, allocations: 43.78 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1566, allocations: 47.52 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1566, allocations: 4 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1568, allocations: 59.97 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1569, allocations: 15.98 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.1569, allocations: 31.8 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1572, allocations: 119.7 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1573, allocations: 0 / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1573, allocations: 0 / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1573, allocations: 0 / 0.4911 GB, free: 8.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006427/0.1579, allocations: 407 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.158, allocations: 11.89 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.158, allocations: 46.67 kB / 0.4915 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.1581, allocations: 8.844 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1584, allocations: 199.7 kB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1585, allocations: 4.375 kB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1585, allocations: 11.84 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1587, allocations: 67.39 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1587, allocations: 0 / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1587, allocations: 0 / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1588, allocations: 3.938 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.1589, allocations: 23.98 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1593, allocations: 288.8 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1595, allocations: 58.67 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1595, allocations: 20.8 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1596, allocations: 0 / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.1598, allocations: 79.33 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1598, allocations: 0 / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005949/0.1604, allocations: 161.3 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.1605, allocations: 81.11 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1606, allocations: 153.8 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1607, allocations: 29.7 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.1608, allocations: 100.1 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1608, allocations: 23.66 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.1609, allocations: 21.7 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.161, allocations: 318.8 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1611, allocations: 23.98 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.1612, allocations: 46.55 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1613, allocations: 73.72 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1614, allocations: 0 / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002148/0.1616, allocations: 97.44 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1616, allocations: 8 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1616, allocations: 0 / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1616, allocations: 0 / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1618, allocations: 15.98 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1618, allocations: 4 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.1618, allocations: 11.88 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1619, allocations: 8.031 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001217/0.162, allocations: 121.8 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.162, allocations: 11.91 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.317e-05/0.1621, allocations: 12.72 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1621, allocations: 3.938 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1621, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1621, allocations: 3.938 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.1626, allocations: 391.4 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1626, allocations: 3.938 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1627, allocations: 8 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.1627, allocations: 3.938 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1627, allocations: 4 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1627, allocations: 0 / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1627, allocations: 3.984 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.163, allocations: 200.3 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.1631, allocations: 85.2 kB / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1631, allocations: 8.312 kB / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.1632, allocations: 7.938 kB / 0.4942 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1632, allocations: 7.922 kB / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1633, allocations: 8 kB / 0.4942 GB, free: 4.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.1634, allocations: 122.7 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1634, allocations: 0 / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1637, allocations: 28 kB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001674/0.1653, allocations: 1.138 MB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1656, allocations: 59.91 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1656, allocations: 0 / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.46e-05/0.1657, allocations: 32.05 kB / 0.4956 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.166, allocations: 35.92 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1681, allocations: 1.551 MB / 0.4971 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1685, allocations: 0.6963 MB / 0.4978 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.16e-05/0.1686, allocations: 21.27 kB / 0.4978 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.1687, allocations: 39.41 kB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1687, allocations: 0 / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.195, allocations: 3.574 MB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.511, allocations: 11.84 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time