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.001559/0.001559, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.00171/0.00171, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.427/1.427, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 57.62 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2777, allocations: 49.15 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002714/0.2804, allocations: 1.571 MB / 397.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2815, allocations: 0.6464 MB / 398.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.2816, allocations: 2.75 kB / 398.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.2818, allocations: 49.34 kB / 398.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.282, allocations: 43.84 kB / 398.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2831, allocations: 0.5831 MB / 399.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.2833, allocations: 108.5 kB / 399.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2834, allocations: 30.48 kB / 399.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2835, allocations: 61.28 kB / 399.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2837, allocations: 75.48 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2837, allocations: 9.188 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.2839, allocations: 110.9 kB / 399.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.284, allocations: 40.39 kB / 399.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.284, allocations: 46.86 kB / 399.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2844, allocations: 220.8 kB / 399.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2844, allocations: 0 / 399.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2844, allocations: 0 / 399.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2844, allocations: 0 / 399.9 MB, free: 6.703 MB / 318.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.001478/0.2859, allocations: 0.4966 MB / 400.4 MB, free: 6.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2859, allocations: 14.59 kB / 400.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.286, allocations: 42.11 kB / 400.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.2874, allocations: 191.6 kB / 400.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2876, allocations: 157.2 kB / 400.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2876, allocations: 8.984 kB / 400.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.2876, allocations: 10.22 kB / 400.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.288, allocations: 179.1 kB / 401 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.288, allocations: 0.75 kB / 401 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.2881, allocations: 5.438 kB / 401 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.2881, allocations: 6.906 kB / 401 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2885, allocations: 166.1 kB / 401.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.2894, allocations: 495 kB / 401.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.2897, allocations: 153.5 kB / 401.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2899, allocations: 84.53 kB / 401.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.29, allocations: 2.812 kB / 401.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.29, allocations: 40.78 kB / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.29, allocations: 0 / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007001/0.2907, allocations: 268.4 kB / 402.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2907, allocations: 53.69 kB / 402.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2909, allocations: 191.7 kB / 402.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2909, allocations: 26.36 kB / 402.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.291, allocations: 114.8 kB / 402.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.291, allocations: 48.73 kB / 402.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.2911, allocations: 39.12 kB / 402.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.2911, allocations: 326.8 kB / 403 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2913, allocations: 67.11 kB / 403 MB, free: 4.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.2915, allocations: 90.81 kB / 403.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2918, allocations: 164.3 kB / 403.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2918, allocations: 9.156 kB / 403.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004261/0.2923, allocations: 216.8 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2923, allocations: 5.812 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2923, allocations: 1.219 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2923, allocations: 1.125 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.2925, allocations: 35.52 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2925, allocations: 2.312 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.2927, allocations: 23.09 kB / 403.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2927, allocations: 6.531 kB / 403.6 MB, free: 4.379 MB / 318.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 8.648e-05/0.2928, allocations: 130.5 kB / 403.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.2928, allocations: 18.97 kB / 403.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/0.2934, allocations: 248.7 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2934, allocations: 1.062 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2934, allocations: 2.156 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2934, allocations: 0.7031 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.2937, allocations: 232.5 kB / 404.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2937, allocations: 1.531 kB / 404.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.2939, allocations: 40.05 kB / 404.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2939, allocations: 1.266 kB / 404.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2939, allocations: 7.672 kB / 404.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.2939, allocations: 1.156 kB / 404.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2939, allocations: 0 / 404.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.2944, allocations: 322.6 kB / 404.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2945, allocations: 27.2 kB / 404.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2945, allocations: 10.06 kB / 404.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2946, allocations: 10.88 kB / 404.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.2947, allocations: 13.39 kB / 404.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2947, allocations: 9.062 kB / 404.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.2948, allocations: 141.5 kB / 404.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2948, allocations: 1.438 kB / 404.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2951, allocations: 25.75 kB / 404.8 MB, free: 3.578 MB / 318.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.0006965/0.2958, allocations: 0.8674 MB / 405.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.2962, allocations: 168.1 kB / 405.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2962, allocations: 0 / 405.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2964, allocations: 94.77 kB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2967, allocations: 19.23 kB / 405.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.2992, allocations: 2.114 MB / 408 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2993, allocations: 118.2 kB / 408.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2994, allocations: 29.28 kB / 408.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2995, allocations: 62.72 kB / 408.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2995, allocations: 0 / 408.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.3308, allocations: 4.456 MB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.98, allocations: 5.25 kB / 412.7 MB, free: 14.91 MB / 334.1 MB " [Timeout remaining time 649] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.299627794884145]