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.001248/0.001248, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001334/0.001334, allocations: 203.8 kB / 23.72 MB, free: 4.391 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.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.001949/0.001949, allocations: 55.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3014, allocations: 53.4 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00303/0.3044, allocations: 1.683 MB / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.306, allocations: 0.7126 MB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.306, allocations: 0 / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3063, allocations: 51.72 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.3065, allocations: 47.7 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3076, allocations: 478.2 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3079, allocations: 126.7 kB / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.308, allocations: 21.69 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3081, allocations: 63.75 kB / 434.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3084, allocations: 75.67 kB / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.3084, allocations: 15.94 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.3087, allocations: 115.9 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.3087, allocations: 31.91 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.3088, allocations: 55.66 kB / 434.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.3092, allocations: 208.9 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3092, allocations: 0 / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3092, allocations: 0 / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.3092, allocations: 0 / 434.8 MB, free: 2.797 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.001357/0.3105, allocations: 461.3 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3106, allocations: 11.98 kB / 435.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.3106, allocations: 50.73 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.3113, allocations: 108.6 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.3116, allocations: 165.3 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.3116, allocations: 12.36 kB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.3116, allocations: 16.36 kB / 435.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.312, allocations: 162.4 kB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3121, allocations: 0 / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3121, allocations: 8 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.3121, allocations: 8 kB / 435.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.3125, allocations: 152.5 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.3136, allocations: 0.4916 MB / 436.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.314, allocations: 138.5 kB / 436.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3142, allocations: 72.81 kB / 436.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3143, allocations: 0 / 436.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3143, allocations: 34.56 kB / 436.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.3143, allocations: 0 / 436.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006504/0.3149, allocations: 213.6 kB / 436.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.315, allocations: 55.41 kB / 436.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3152, allocations: 211.1 kB / 437.1 MB, free: 312 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3153, allocations: 33.7 kB / 437.1 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3154, allocations: 120.3 kB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.3154, allocations: 35.67 kB / 437.3 MB, free: 108 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.3155, allocations: 37.66 kB / 437.3 MB, free: 64 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3157, allocations: 326.8 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3158, allocations: 51.95 kB / 437.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.316, allocations: 96.19 kB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.3164, allocations: 160.5 kB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3164, allocations: 0 / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004248/0.3168, allocations: 193.3 kB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3168, allocations: 11.98 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3168, allocations: 4.125 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3168, allocations: 4 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.317, allocations: 27.92 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.317, allocations: 4 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3171, allocations: 23.88 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3172, allocations: 4 kB / 438.2 MB, free: 15.13 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.0001273/0.3173, allocations: 129.8 kB / 438.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3173, allocations: 15.91 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.3178, allocations: 202.8 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3178, allocations: 0 / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3178, allocations: 0 / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3178, allocations: 0 / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3181, allocations: 204.6 kB / 438.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3181, allocations: 3.984 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3182, allocations: 19.98 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3182, allocations: 0 / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3183, allocations: 4 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3183, allocations: 4 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3183, allocations: 0 / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.3187, allocations: 275.2 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.3188, allocations: 27.83 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.3188, allocations: 4 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3189, allocations: 7.984 kB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.319, allocations: 7.984 kB / 439.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.319, allocations: 4 kB / 439.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.3191, allocations: 156.5 kB / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 4 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3194, allocations: 27.95 kB / 439.3 MB, free: 13.98 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.0008697/0.3203, allocations: 0.8059 MB / 440.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.3207, allocations: 139.9 kB / 440.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3207, allocations: 0 / 440.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3209, allocations: 63.89 kB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3212, allocations: 18.73 kB / 440.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.3242, allocations: 2.147 MB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3243, allocations: 111.2 kB / 442.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3245, allocations: 33.41 kB / 442.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3246, allocations: 43.42 kB / 442.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3246, allocations: 0 / 442.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.3608, allocations: 4.096 MB / 446.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.43, allocations: 15.86 kB / 446.7 MB, free: 6.48 MB / 350.1 MB " [Timeout remaining time 648] (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.90565599128604]