Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 377.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003396/0.297, allocations: 1.718 MB / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2985, allocations: 0.7671 MB / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.2986, allocations: 4 kB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.2989, allocations: 51.72 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.2991, allocations: 47.66 kB / 433.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3001, allocations: 0.5058 MB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3003, allocations: 127 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3004, allocations: 25.72 kB / 434.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3005, allocations: 59.72 kB / 434.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3008, allocations: 87.66 kB / 434.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.3008, allocations: 12 kB / 434.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.301, allocations: 123.9 kB / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.3011, allocations: 39.83 kB / 434.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.3012, allocations: 59.61 kB / 434.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.3015, allocations: 207.6 kB / 435 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3015, allocations: 0 / 435 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3015, allocations: 4 kB / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3015, allocations: 0 / 435 MB, free: 2.871 MB / 334.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.001322/0.3029, allocations: 465.3 kB / 435.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3029, allocations: 8.031 kB / 435.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.303, allocations: 46.75 kB / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.3036, allocations: 104.7 kB / 435.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3039, allocations: 169.2 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3039, allocations: 8.375 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3039, allocations: 12.31 kB / 435.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.3043, allocations: 158.5 kB / 435.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3043, allocations: 0 / 435.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.3043, allocations: 12 kB / 435.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.3043, allocations: 7.984 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.3047, allocations: 155.8 kB / 436.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3058, allocations: 0.5305 MB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.3062, allocations: 142.6 kB / 436.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3063, allocations: 68.92 kB / 436.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.3064, allocations: 4 kB / 436.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3064, allocations: 34.56 kB / 436.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3064, allocations: 4 kB / 436.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005983/0.307, allocations: 209.4 kB / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.307, allocations: 51.41 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.3073, allocations: 215.1 kB / 437.4 MB, free: 352 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3073, allocations: 25.7 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.3074, allocations: 120.2 kB / 437.5 MB, free: 192 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.3074, allocations: 39.69 kB / 437.5 MB, free: 152 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3075, allocations: 33.7 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3076, allocations: 322.8 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3078, allocations: 59.95 kB / 437.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.308, allocations: 88.25 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.3083, allocations: 160.5 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3083, allocations: 0 / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004192/0.3087, allocations: 201.3 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3087, allocations: 8 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3088, allocations: 0 / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3088, allocations: 7.984 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3089, allocations: 23.98 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.309, allocations: 7.938 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3091, allocations: 19.88 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3091, allocations: 8 kB / 438.5 MB, free: 15.18 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001186/0.3092, allocations: 137.8 kB / 438.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.3093, allocations: 19.86 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.3097, allocations: 182.9 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3097, allocations: 4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3097, allocations: 0 / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3097, allocations: 0 / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.31, allocations: 224.6 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.31, allocations: 4 kB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3101, allocations: 23.98 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3101, allocations: 0 / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3102, allocations: 0 / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3102, allocations: 7.984 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3102, allocations: 3.984 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3106, allocations: 271.2 kB / 439.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.3107, allocations: 23.89 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3107, allocations: 7.984 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3108, allocations: 12 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3109, allocations: 3.984 kB / 439.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3109, allocations: 7.984 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.311, allocations: 152.5 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.311, allocations: 0 / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3113, allocations: 31.89 kB / 439.5 MB, free: 14 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0007604/0.3121, allocations: 0.8059 MB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.3125, allocations: 135.8 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3125, allocations: 288 / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.3126, allocations: 59.97 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3129, allocations: 20.47 kB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.3159, allocations: 2.151 MB / 442.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3162, allocations: 0.7317 MB / 443.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.3163, allocations: 29.41 kB / 443.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.3164, allocations: 47.41 kB / 443.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3164, allocations: 0 / 443.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.3516, allocations: 3.639 MB / 447.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.29, allocations: 3.375 kB / 447.2 MB, free: 6.344 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.688425482949242]