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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 87.62 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004427/0.004427, allocations: 166 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8806/0.8806, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 298.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.456e-05, allocations: 2.281 kB / 298.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002306/0.00233, allocations: 1.565 MB / 300 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.003241, allocations: 0.6597 MB / 300.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.003295, allocations: 4 kB / 300.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.003523, allocations: 43.73 kB / 300.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.0037, allocations: 43.66 kB / 300.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.004519, allocations: 0.5796 MB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.004697, allocations: 115.6 kB / 301.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004798, allocations: 17.27 kB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.004948, allocations: 79.8 kB / 301.5 MB, free: 432 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.005074, allocations: 63.84 kB / 301.6 MB, free: 368 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.005094, allocations: 12 kB / 301.6 MB, free: 356 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.00526, allocations: 111.7 kB / 301.7 MB, free: 244 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.005315, allocations: 39.89 kB / 301.7 MB, free: 204 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.005352, allocations: 27.86 kB / 301.8 MB, free: 176 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1467/0.1521, allocations: 232.7 kB / 302 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1521, allocations: 0.5625 kB / 302 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1521, allocations: 0 / 302 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1521, allocations: 2.594 kB / 302 MB, free: 13.42 MB / 282.7 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.00144/0.1535, allocations: 499.8 kB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1536, allocations: 18.11 kB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1536, allocations: 45.55 kB / 302.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/0.1544, allocations: 187.2 kB / 302.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1546, allocations: 155 kB / 302.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1546, allocations: 11.84 kB / 302.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1547, allocations: 12.47 kB / 302.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.155, allocations: 177.2 kB / 303.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.155, allocations: 192 / 303.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.155, allocations: 4.188 kB / 303.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.155, allocations: 15.19 kB / 303.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.1553, allocations: 160 kB / 303.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.156, allocations: 482.2 kB / 303.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.1562, allocations: 156.5 kB / 303.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1563, allocations: 87.48 kB / 303.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1564, allocations: 5.188 kB / 304 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1564, allocations: 33.94 kB / 304 MB, free: 12.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.1564, allocations: 0 / 304 MB, free: 12.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004974/0.1569, allocations: 265.2 kB / 304.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1569, allocations: 54.59 kB / 304.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1571, allocations: 185 kB / 304.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1571, allocations: 26.8 kB / 304.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1572, allocations: 116.9 kB / 304.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.1572, allocations: 47.94 kB / 304.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.1572, allocations: 32.7 kB / 304.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.1573, allocations: 328.9 kB / 305 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1575, allocations: 64.52 kB / 305.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1576, allocations: 89.73 kB / 305.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1579, allocations: 174.4 kB / 305.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1579, allocations: 1.219 kB / 305.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003453/0.1582, allocations: 211.2 kB / 305.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1583, allocations: 5.562 kB / 305.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1583, allocations: 1.922 kB / 305.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1583, allocations: 8.969 kB / 305.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1584, allocations: 38.11 kB / 305.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1585, allocations: 6.672 kB / 305.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.1585, allocations: 21.45 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1585, allocations: 6.031 kB / 305.6 MB, free: 11.8 MB / 282.7 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 9.506e-05/0.1586, allocations: 135.1 kB / 305.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1587, allocations: 14.62 kB / 305.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.1591, allocations: 256.5 kB / 306 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1591, allocations: 6.219 kB / 306 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1591, allocations: 1.094 kB / 306 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1591, allocations: 1.406 kB / 306 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1594, allocations: 220.3 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1594, allocations: 0 / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1595, allocations: 41.42 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1595, allocations: 2.047 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1595, allocations: 10.94 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1595, allocations: 4.594 kB / 306.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1595, allocations: 4.656 kB / 306.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.1599, allocations: 315.2 kB / 306.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.1599, allocations: 17.92 kB / 306.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1599, allocations: 5.062 kB / 306.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.16, allocations: 13.64 kB / 306.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.16, allocations: 15.53 kB / 306.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1601, allocations: 6.766 kB / 306.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.221e-05/0.1601, allocations: 145.6 kB / 306.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1601, allocations: 1.438 kB / 306.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000192/0.1603, allocations: 30.14 kB / 306.9 MB, free: 11.12 MB / 282.7 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.0005086/0.1608, allocations: 0.8501 MB / 307.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.1611, allocations: 170 kB / 307.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1611, allocations: 0 / 307.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1613, allocations: 93.28 kB / 308 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1615, allocations: 23.55 kB / 308 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.1638, allocations: 2.134 MB / 310.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.164, allocations: 115.1 kB / 310.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1641, allocations: 36.34 kB / 310.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.1642, allocations: 51.39 kB / 310.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of SimCode: time 2.044e-06/0.1642, allocations: 0 / 310.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.1847, allocations: 4.602 MB / 314.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.923, allocations: 1.312 kB / 314.9 MB, free: 7.383 MB / 282.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.495629751123488]