Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001439/0.001439, allocations: 117 kB / 21.18 MB, free: 0.6289 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.00153/0.00153, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.81 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2912, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003495/0.2947, allocations: 1.721 MB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2962, allocations: 0.7711 MB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.2963, allocations: 4 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.2966, allocations: 51.7 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.2967, allocations: 43.72 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2978, allocations: 0.5058 MB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.298, allocations: 127.5 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2981, allocations: 17.56 kB / 435.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.2982, allocations: 55.77 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2984, allocations: 95.59 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.2985, allocations: 8 kB / 435.4 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.2987, allocations: 123.9 kB / 435.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.2988, allocations: 39.78 kB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.2989, allocations: 55.61 kB / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2992, allocations: 208.8 kB / 435.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2992, allocations: 3.938 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2992, allocations: 0 / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2992, allocations: 0 / 435.8 MB, free: 3.578 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.001409/0.3006, allocations: 0.5375 MB / 436.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3007, allocations: 8.031 kB / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006672/0.3013, allocations: 100.7 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3016, allocations: 196.1 kB / 436.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3016, allocations: 8.375 kB / 436.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.3016, allocations: 16.31 kB / 436.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.302, allocations: 165.8 kB / 436.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.302, allocations: 4 kB / 436.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.302, allocations: 4 kB / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3021, allocations: 11.98 kB / 436.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.3025, allocations: 151.9 kB / 437 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3036, allocations: 0.5588 MB / 437.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.3039, allocations: 138.6 kB / 437.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.3041, allocations: 64.77 kB / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3042, allocations: 11.92 kB / 437.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3042, allocations: 38.56 kB / 437.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3042, allocations: 0 / 437.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006934/0.3049, allocations: 213.5 kB / 438 MB, free: 1.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.305, allocations: 55.41 kB / 438.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.3053, allocations: 211.1 kB / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3053, allocations: 25.7 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3054, allocations: 128.2 kB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.3055, allocations: 39.69 kB / 438.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.3056, allocations: 29.7 kB / 438.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.3058, allocations: 322.8 kB / 438.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.306, allocations: 55.95 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.3062, allocations: 95 kB / 439 MB, free: 204 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.3066, allocations: 156.2 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3066, allocations: 0 / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004912/0.3071, allocations: 197.3 kB / 439.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3071, allocations: 8 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3072, allocations: 0 / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.3072, allocations: 3.984 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3074, allocations: 31.92 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3074, allocations: 0 / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3075, allocations: 24.34 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3075, allocations: 8.125 kB / 439.4 MB, free: 15.76 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.0001773/0.3077, allocations: 133.8 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.3078, allocations: 23.8 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.3083, allocations: 178.9 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3083, allocations: 3.938 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3083, allocations: 4 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3083, allocations: 0 / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.3087, allocations: 261.4 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3087, allocations: 0 / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3089, allocations: 23.98 kB / 440 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3089, allocations: 3.938 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3089, allocations: 0 / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3089, allocations: 0 / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3089, allocations: 3.984 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.3094, allocations: 271.3 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3095, allocations: 105 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.3096, allocations: 0 / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3097, allocations: 8 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.3098, allocations: 7.984 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3098, allocations: 4 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.31, allocations: 160.2 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.31, allocations: 0 / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3103, allocations: 27.95 kB / 440.6 MB, free: 14.46 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.0001992/0.3105, allocations: 115.2 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.3109, allocations: 127.9 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3109, allocations: 4.25 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.3111, allocations: 71.83 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3114, allocations: 28.3 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/0.3122, allocations: 347.5 kB / 441.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.3127, allocations: 0.7317 MB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.3127, allocations: 27.41 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3127, allocations: 0 / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Templates: time 0.004705/0.3174, allocations: 2.016 MB / 444 MB, free: 10.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.346328655257821]