Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001472/0.001472, allocations: 105.1 kB / 16.4 MB, free: 6.492 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.001496/0.001496, allocations: 192.1 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.782/1.782, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2347/0.2347, allocations: 43.52 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.001757/0.001757, allocations: 71.91 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1433, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004937/0.1484, allocations: 2.002 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1507, allocations: 0.8973 MB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1509, allocations: 3.938 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.1514, allocations: 51.69 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.1518, allocations: 71.55 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1523, allocations: 139.6 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.1527, allocations: 191.5 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1529, allocations: 25.67 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1532, allocations: 87.61 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1533, allocations: 75.62 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.1534, allocations: 12 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1536, allocations: 51.97 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.1537, allocations: 39.84 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1538, allocations: 71.59 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.1543, allocations: 199.3 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1543, allocations: 0 / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1543, allocations: 0 / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1543, allocations: 0 / 0.4913 GB, free: 8.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001241/0.1556, allocations: 0.5488 MB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.1556, allocations: 19.83 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.632e-05/0.1557, allocations: 38.73 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1558, allocations: 20.75 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.1564, allocations: 252.7 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1564, allocations: 8.375 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1565, allocations: 11.94 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.157, allocations: 154.8 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.157, allocations: 0 / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1571, allocations: 8 kB / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.1571, allocations: 0 / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.1576, allocations: 123.6 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.1586, allocations: 0.5399 MB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.1594, allocations: 162.6 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.1597, allocations: 68.8 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.1598, allocations: 3.938 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.1603, allocations: 139.3 kB / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.1603, allocations: 0 / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001049/0.1614, allocations: 261.1 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.1615, allocations: 59.34 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.1618, allocations: 223.2 kB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1619, allocations: 29.7 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.162, allocations: 124.4 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.162, allocations: 35.55 kB / 0.494 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1622, allocations: 37.7 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1623, allocations: 330.8 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.1626, allocations: 71.92 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.1629, allocations: 107.5 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.1635, allocations: 193.8 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.1635, allocations: 4 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007264/0.1642, allocations: 247 kB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.1643, allocations: 37.7 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1643, allocations: 3.984 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.1643, allocations: 12.06 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1645, allocations: 31.97 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1645, allocations: 3.938 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.1647, allocations: 35.81 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1648, allocations: 4 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001578/0.1649, allocations: 133.8 kB / 0.4952 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.165, allocations: 15.81 kB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.1651, allocations: 29.39 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1651, allocations: 3.938 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1651, allocations: 0 / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1651, allocations: 0 / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1654, allocations: 237.5 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1654, allocations: 4 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1656, allocations: 23.92 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1656, allocations: 0 / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1656, allocations: 3.984 kB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1656, allocations: 7.938 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1656, allocations: 4 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009907/0.1666, allocations: 300.6 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.1667, allocations: 97.02 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1668, allocations: 3.984 kB / 0.4959 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1669, allocations: 27.91 kB / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.167, allocations: 15.98 kB / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.1671, allocations: 7.984 kB / 0.4959 GB, free: 3.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1672, allocations: 164.6 kB / 0.4961 GB, free: 2.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1672, allocations: 0 / 0.4961 GB, free: 2.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1675, allocations: 43.92 kB / 0.4961 GB, free: 2.914 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002113/0.1696, allocations: 1.146 MB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006552/0.1703, allocations: 207.2 kB / 0.4974 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1703, allocations: 0 / 0.4974 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.1706, allocations: 92.05 kB / 0.4975 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.171, allocations: 47.89 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1745, allocations: 2.163 MB / 0.4997 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1749, allocations: 0.7163 MB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.175, allocations: 25.53 kB / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1751, allocations: 51.42 kB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1751, allocations: 0 / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.2003, allocations: 5.032 MB / 0.5054 GB, free: 9.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/7.991, allocations: 0 / 0.5054 GB, free: 9.285 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches