Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001579/0.001579, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 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.00172/0.00172, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8.23 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+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: 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_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_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 43.92 kB / 379 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2971, allocations: 53.36 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.0031/0.3002, allocations: 1.714 MB / 434.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3016, allocations: 0.7826 MB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.3017, allocations: 0 / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.302, allocations: 51.72 kB / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3021, allocations: 47.7 kB / 435 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3032, allocations: 0.5058 MB / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.3034, allocations: 119.6 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3036, allocations: 25.67 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3037, allocations: 55.78 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.3039, allocations: 95.58 kB / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.3039, allocations: 12 kB / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.3042, allocations: 119.9 kB / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.3043, allocations: 35.84 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.3043, allocations: 59.59 kB / 436 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3047, allocations: 208.4 kB / 436.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3047, allocations: 3.984 kB / 436.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3047, allocations: 4 kB / 436.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3047, allocations: 4 kB / 436.2 MB, free: 3.121 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.001273/0.3059, allocations: 465.3 kB / 436.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.306, allocations: 12.03 kB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006451/0.3066, allocations: 100.7 kB / 436.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.3069, allocations: 162.2 kB / 436.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3069, allocations: 12.36 kB / 436.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.3069, allocations: 12.36 kB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.3073, allocations: 168.2 kB / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3073, allocations: 0 / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3073, allocations: 4 kB / 437.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.3073, allocations: 8 kB / 437.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3077, allocations: 155.9 kB / 437.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3088, allocations: 0.5267 MB / 437.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.3091, allocations: 142.6 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3093, allocations: 64.75 kB / 438 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3093, allocations: 0 / 438 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3094, allocations: 34.56 kB / 438 MB, free: 1.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.3094, allocations: 0 / 438 MB, free: 1.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006012/0.31, allocations: 221.6 kB / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.31, allocations: 51.41 kB / 438.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3102, allocations: 211.8 kB / 438.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3103, allocations: 29.7 kB / 438.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.3103, allocations: 120.2 kB / 438.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3104, allocations: 39.67 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.3104, allocations: 29.72 kB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3106, allocations: 334.8 kB / 439.1 MB, free: 88 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3108, allocations: 51.97 kB / 439.1 MB, free: 36 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.311, allocations: 96.05 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.3113, allocations: 160.5 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.3113, allocations: 3.984 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004139/0.3117, allocations: 193.3 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3117, allocations: 8.125 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3117, allocations: 4 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3117, allocations: 0 / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.3119, allocations: 39.91 kB / 439.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3119, allocations: 0 / 439.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.312, allocations: 15.89 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3121, allocations: 7.984 kB / 439.6 MB, free: 15.48 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.0001149/0.3122, allocations: 129.8 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.3122, allocations: 23.8 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.3127, allocations: 186.9 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3127, allocations: 0 / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3127, allocations: 0 / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3127, allocations: 4 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.3129, allocations: 220.5 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3129, allocations: 0 / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3131, allocations: 31.97 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3131, allocations: 4 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3131, allocations: 0 / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3131, allocations: 0 / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3131, allocations: 0 / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.3135, allocations: 275.2 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.3136, allocations: 27.89 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3136, allocations: 4 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3138, allocations: 15.98 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3138, allocations: 7.984 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3138, allocations: 4 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.314, allocations: 152.5 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.314, allocations: 96 / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3142, allocations: 31.89 kB / 440.7 MB, free: 14.31 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.0001339/0.3144, allocations: 115.2 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3148, allocations: 135.8 kB / 441 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3148, allocations: 3.938 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3149, allocations: 59.95 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3152, allocations: 23.11 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.3159, allocations: 351.9 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3163, allocations: 0.7278 MB / 442.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.3163, allocations: 23.44 kB / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3163, allocations: 0 / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.0041/0.3204, allocations: 2.025 MB / 444.2 MB, free: 10.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.264656142098829]