Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.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.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",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.001678/0.001678, allocations: 109 kB / 16.41 MB, free: 6.434 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.00185/0.001851, allocations: 185 kB / 17.34 MB, free: 5.734 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2255/0.2255, allocations: 43.52 MB / 314.1 MB, free: 480 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.002041/0.002042, allocations: 75.89 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1453, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003804/0.1492, allocations: 1.828 MB / 0.4892 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1517, allocations: 1.385 MB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1518, allocations: 7.938 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.152, allocations: 27.72 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.1521, allocations: 31.72 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.1539, allocations: 0.5572 MB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.1543, allocations: 287.3 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1545, allocations: 40.28 kB / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1547, allocations: 115.6 kB / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.155, allocations: 175.5 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.155, allocations: 24 kB / 0.4918 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.1563, allocations: 0.8111 MB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.1565, allocations: 111.7 kB / 0.4927 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1567, allocations: 143.1 kB / 0.4928 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.1581, allocations: 1.067 MB / 0.4938 GB, free: 5.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1582, allocations: 0 / 0.4938 GB, free: 5.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1582, allocations: 3.938 kB / 0.4938 GB, free: 5.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1582, allocations: 0 / 0.4938 GB, free: 5.703 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001483/0.1597, allocations: 0.7425 MB / 0.4946 GB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1597, allocations: 15.83 kB / 0.4946 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.1598, allocations: 46.73 kB / 0.4946 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.1599, allocations: 36.7 kB / 0.4947 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.1603, allocations: 279.9 kB / 0.4949 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1603, allocations: 16 kB / 0.4949 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.1604, allocations: 31.89 kB / 0.495 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.1609, allocations: 263.2 kB / 0.4952 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.161, allocations: 0 / 0.4952 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.161, allocations: 8 kB / 0.4952 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.161, allocations: 7.984 kB / 0.4952 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.1615, allocations: 223.8 kB / 0.4954 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1628, allocations: 0.7501 MB / 0.4962 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.1633, allocations: 296.9 kB / 0.4965 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.1636, allocations: 193.6 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1637, allocations: 4 kB / 0.4966 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.1637, allocations: 46.44 kB / 0.4967 GB, free: 2.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.1637, allocations: 0 / 0.4967 GB, free: 2.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001137/0.1649, allocations: 0.5326 MB / 0.4972 GB, free: 2.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.1649, allocations: 81.11 kB / 0.4973 GB, free: 1.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.1654, allocations: 356.6 kB / 0.4976 GB, free: 1.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.1655, allocations: 29.7 kB / 0.4977 GB, free: 1.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1656, allocations: 152.9 kB / 0.4978 GB, free: 1.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1657, allocations: 95.19 kB / 0.4979 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.1659, allocations: 125.4 kB / 0.498 GB, free: 1.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.1661, allocations: 350.8 kB / 0.4984 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.1666, allocations: 276.9 kB / 0.4986 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.1671, allocations: 343.5 kB / 0.4989 GB, free: 216 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.171, allocations: 1.764 MB / 0.5007 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.171, allocations: 0 / 0.5007 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001299/0.1723, allocations: 0.766 MB / 0.5014 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1723, allocations: 4 kB / 0.5014 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.1724, allocations: 11.92 kB / 0.5014 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.1724, allocations: 4 kB / 0.5014 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.1729, allocations: 99.86 kB / 0.5015 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1729, allocations: 0 / 0.5015 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.1732, allocations: 75.33 kB / 0.5016 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1732, allocations: 8 kB / 0.5016 GB, free: 13.46 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002995/0.1735, allocations: 186.8 kB / 0.5018 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.1736, allocations: 27.81 kB / 0.5018 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.1737, allocations: 46.64 kB / 0.5019 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1737, allocations: 0 / 0.5019 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.1738, allocations: 0 / 0.5019 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1738, allocations: 11.94 kB / 0.5019 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.1743, allocations: 341.2 kB / 0.5022 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1743, allocations: 0 / 0.5022 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.1747, allocations: 51.86 kB / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1747, allocations: 0 / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.1748, allocations: 19.92 kB / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1748, allocations: 0 / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1748, allocations: 4 kB / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1759, allocations: 0.741 MB / 0.503 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.176, allocations: 109 kB / 0.5031 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.1761, allocations: 15.94 kB / 0.5031 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1763, allocations: 11.98 kB / 0.5031 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.1764, allocations: 19.92 kB / 0.5031 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.1764, allocations: 11.98 kB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.1767, allocations: 227 kB / 0.5034 GB, free: 11.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1767, allocations: 0 / 0.5034 GB, free: 11.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008924/0.1776, allocations: 251.6 kB / 0.5036 GB, free: 11.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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 (24): * Single equations (assignments): 24 * 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.001978/0.1796, allocations: 1.435 MB / 0.505 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.1808, allocations: 0.7289 MB / 0.5057 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1808, allocations: 0 / 0.5057 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.1812, allocations: 192 kB / 0.5059 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.1817, allocations: 45.28 kB / 0.5059 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.1879, allocations: 4.542 MB / 0.5104 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.1886, allocations: 0.8106 MB / 0.5112 GB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.1888, allocations: 66.25 kB / 0.5112 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.189, allocations: 103.4 kB / 0.5113 GB, free: 3.234 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.189, allocations: 0 / 0.5113 GB, free: 3.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.2294, allocations: 10.09 MB / 0.5212 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/8.609, allocations: 0 / 0.5212 GB, free: 9.141 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches