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.001638/0.001638, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002132/0.002132, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.00184/0.00184, allocations: 47.92 kB / 378.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.29, allocations: 53.37 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003207/0.2932, allocations: 1.714 MB / 433.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2946, allocations: 0.7749 MB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.2947, allocations: 8 kB / 434.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.2949, allocations: 55.7 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.2951, allocations: 35.73 kB / 434.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2962, allocations: 0.5135 MB / 434.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2965, allocations: 119.6 kB / 434.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.2966, allocations: 21.72 kB / 434.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2967, allocations: 55.78 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2969, allocations: 95.59 kB / 435 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2969, allocations: 8 kB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.2972, allocations: 123.9 kB / 435.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.2973, allocations: 39.83 kB / 435.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.2973, allocations: 59.55 kB / 435.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.2977, allocations: 204.5 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2977, allocations: 4 kB / 435.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2977, allocations: 0 / 435.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2977, allocations: 0 / 435.4 MB, free: 3.082 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.001333/0.299, allocations: 473.2 kB / 435.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2991, allocations: 8.031 kB / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.2998, allocations: 104.7 kB / 436 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3, allocations: 162.2 kB / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3, allocations: 8.375 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3001, allocations: 8.375 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.3004, allocations: 170.6 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3004, allocations: 3.984 kB / 436.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3005, allocations: 7.984 kB / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.3005, allocations: 8 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.3009, allocations: 160.5 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3019, allocations: 0.5228 MB / 437 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3023, allocations: 138.6 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3025, allocations: 68.75 kB / 437.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3025, allocations: 0 / 437.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3025, allocations: 30.56 kB / 437.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.3025, allocations: 0 / 437.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006204/0.3032, allocations: 217.6 kB / 437.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3032, allocations: 55.41 kB / 437.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3034, allocations: 211.8 kB / 437.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3035, allocations: 25.7 kB / 437.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.3035, allocations: 124.2 kB / 437.9 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.3036, allocations: 31.7 kB / 437.9 MB, free: 428 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.3036, allocations: 37.7 kB / 438 MB, free: 384 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3038, allocations: 330.8 kB / 438.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.304, allocations: 56 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3042, allocations: 86.7 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3045, allocations: 156.2 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3045, allocations: 0 / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004379/0.305, allocations: 209.6 kB / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.305, allocations: 4 kB / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.305, allocations: 0 / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.305, allocations: 4 kB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3052, allocations: 31.92 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3052, allocations: 4 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3053, allocations: 19.88 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3053, allocations: 4 kB / 438.8 MB, free: 15.45 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.0001206/0.3054, allocations: 134 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.3055, allocations: 31.73 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.3059, allocations: 182.9 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3059, allocations: 0 / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3059, allocations: 0 / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3059, allocations: 0 / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3062, allocations: 228.5 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3062, allocations: 0 / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3064, allocations: 27.98 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3064, allocations: 0 / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3064, allocations: 7.984 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3064, allocations: 3.938 kB / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3064, allocations: 0 / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.3069, allocations: 267.2 kB / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.3069, allocations: 35.89 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3069, allocations: 0 / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3071, allocations: 4 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3071, allocations: 15.97 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3071, allocations: 0 / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.3073, allocations: 156.5 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3073, allocations: 0 / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3076, allocations: 27.95 kB / 439.9 MB, free: 14.27 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.0001316/0.3077, allocations: 115.1 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.3081, allocations: 128.1 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3081, allocations: 4 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3083, allocations: 68.08 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3085, allocations: 19.94 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.3092, allocations: 330.2 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3096, allocations: 0.7278 MB / 441.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3097, allocations: 29.69 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.3097, allocations: 19.44 kB / 441.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3097, allocations: 4 kB / 441.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Templates: time 0.005292/0.315, allocations: 1.731 MB / 443.1 MB, free: 11.06 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 4.512831649975851]