Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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) 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(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",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.001303/0.001303, allocations: 98.88 kB / 17.58 MB, free: 5.418 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.001316/0.001316, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.905/1.905, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.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.001424/0.001425, allocations: 47.92 kB / 280.7 MB, free: 3.102 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1448, allocations: 46.63 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00452/0.1494, allocations: 1.585 MB / 329 MB, free: 2.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1512, allocations: 0.691 MB / 329.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1514, allocations: 0 / 329.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1519, allocations: 51.72 kB / 329.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.1522, allocations: 27.8 kB / 329.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.154, allocations: 0.6031 MB / 330.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.1544, allocations: 111.7 kB / 330.4 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.1546, allocations: 33.05 kB / 330.5 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.1549, allocations: 63.7 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1552, allocations: 79.67 kB / 330.6 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.1552, allocations: 8 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.1556, allocations: 131.8 kB / 330.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1557, allocations: 39.89 kB / 330.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1558, allocations: 59.61 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.1564, allocations: 219.6 kB / 331.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1564, allocations: 0 / 331.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1564, allocations: 0 / 331.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.1564, allocations: 0 / 331.1 MB, free: 0.6797 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002323/0.1588, allocations: 0.5497 MB / 331.6 MB, free: 84 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.1588, allocations: 12.03 kB / 331.6 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.989e-05/0.159, allocations: 42.73 kB / 331.7 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.1605, allocations: 176.5 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1609, allocations: 196 kB / 332 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.1609, allocations: 8.375 kB / 332 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.161, allocations: 16.36 kB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.1615, allocations: 177.7 kB / 332.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1615, allocations: 3.938 kB / 332.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1616, allocations: 4 kB / 332.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.1616, allocations: 8 kB / 332.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.1621, allocations: 163.8 kB / 332.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1636, allocations: 0.543 MB / 332.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.164, allocations: 170.5 kB / 333.1 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.1643, allocations: 92.8 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.1644, allocations: 4 kB / 333.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1644, allocations: 34.5 kB / 333.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.1644, allocations: 0 / 333.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008248/0.1652, allocations: 269.5 kB / 333.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1653, allocations: 51.41 kB / 333.5 MB, free: 14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1655, allocations: 190.3 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1656, allocations: 25.7 kB / 333.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1657, allocations: 112.2 kB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1658, allocations: 47.34 kB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1659, allocations: 37.7 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.166, allocations: 322.8 kB / 334.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1663, allocations: 67.94 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.1665, allocations: 98.39 kB / 334.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.1669, allocations: 166.4 kB / 334.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1669, allocations: 0 / 334.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005399/0.1675, allocations: 217.3 kB / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1675, allocations: 4 kB / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1675, allocations: 3.984 kB / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1676, allocations: 0 / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.1678, allocations: 47.97 kB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1679, allocations: 0 / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.168, allocations: 19.83 kB / 334.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.1681, allocations: 7.984 kB / 334.9 MB, free: 12.6 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001468/0.1682, allocations: 129.8 kB / 335 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.1683, allocations: 19.75 kB / 335 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.169, allocations: 250.9 kB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.169, allocations: 0 / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.169, allocations: 4 kB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.169, allocations: 0 / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.1695, allocations: 273.4 kB / 335.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1695, allocations: 0 / 335.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.1697, allocations: 43.91 kB / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1697, allocations: 0 / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.1698, allocations: 11.98 kB / 335.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1698, allocations: 7.938 kB / 335.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1698, allocations: 0 / 335.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.1704, allocations: 322.4 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.1706, allocations: 96.86 kB / 336 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1707, allocations: 4 kB / 336 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1708, allocations: 11.98 kB / 336 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.1709, allocations: 19.97 kB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1709, allocations: 4 kB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1711, allocations: 140.2 kB / 336.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 336.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.1714, allocations: 28 kB / 336.2 MB, free: 11.16 MB / 286.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 (18): * Single equations (assignments): 18 * 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.001219/0.1727, allocations: 0.8604 MB / 337.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1732, allocations: 175.8 kB / 337.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.1732, allocations: 4.125 kB / 337.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.1735, allocations: 99.86 kB / 337.4 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1739, allocations: 23.03 kB / 337.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.1781, allocations: 2.126 MB / 339.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.1787, allocations: 0.7319 MB / 340.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.1789, allocations: 33.41 kB / 340.3 MB, free: 6.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.179, allocations: 51.41 kB / 340.3 MB, free: 6.922 MB / 286.1 MB Notification: Performance of SimCode: time 1.563e-06/0.179, allocations: 0 / 340.3 MB, free: 6.922 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.2091, allocations: 3.731 MB / 344 MB, free: 3.125 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.254, allocations: 19.55 kB / 344.1 MB, free: 3.105 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches