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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2988, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003074/0.3019, allocations: 1.702 MB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3033, allocations: 0.7516 MB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3034, allocations: 0 / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3037, allocations: 43.73 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3039, allocations: 43.7 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009682/0.3048, allocations: 494.1 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3051, allocations: 131.5 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3052, allocations: 29.53 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3053, allocations: 63.7 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3056, allocations: 87.61 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.3056, allocations: 8 kB / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.3059, allocations: 135.8 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.3059, allocations: 35.84 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.306, allocations: 55.66 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.3063, allocations: 207.2 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3063, allocations: 0 / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3064, allocations: 3.984 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.3064, allocations: 0 / 413.7 MB, free: 13.79 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.001385/0.3078, allocations: 0.5312 MB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3078, allocations: 8.031 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006946/0.3085, allocations: 100.6 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3087, allocations: 200 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3087, allocations: 8.375 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3088, allocations: 12.38 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.3091, allocations: 161.9 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3091, allocations: 0 / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.3092, allocations: 7.984 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.3092, allocations: 8 kB / 414.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.3096, allocations: 151.8 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3106, allocations: 0.578 MB / 415.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.311, allocations: 138.6 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3112, allocations: 68.94 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3113, allocations: 7.938 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3113, allocations: 38.56 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3113, allocations: 0 / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005967/0.3119, allocations: 201.4 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3119, allocations: 55.39 kB / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3121, allocations: 211.3 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3122, allocations: 29.7 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.3123, allocations: 124.1 kB / 416.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3123, allocations: 31.92 kB / 416.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.3124, allocations: 37.61 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3125, allocations: 322.8 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3127, allocations: 55.95 kB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.3129, allocations: 96.19 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.3132, allocations: 164.1 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3132, allocations: 0 / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004023/0.3136, allocations: 193.2 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3137, allocations: 4 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3137, allocations: 4 kB / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3137, allocations: 0 / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3139, allocations: 36.09 kB / 417.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3139, allocations: 4 kB / 417.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.314, allocations: 19.83 kB / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.314, allocations: 11.94 kB / 417.2 MB, free: 9.961 MB / 334.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.000118/0.3142, allocations: 129.8 kB / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3142, allocations: 11.84 kB / 417.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.3146, allocations: 182.8 kB / 417.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3147, allocations: 7.938 kB / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3147, allocations: 0 / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3147, allocations: 3.984 kB / 417.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.3149, allocations: 253.5 kB / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3149, allocations: 0 / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3151, allocations: 23.97 kB / 417.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3151, allocations: 0 / 417.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3151, allocations: 4 kB / 417.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3151, allocations: 0 / 417.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3151, allocations: 0 / 417.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.3156, allocations: 271.2 kB / 418.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3157, allocations: 108.8 kB / 418.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3157, allocations: 4.094 kB / 418.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3159, allocations: 15.92 kB / 418.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3159, allocations: 7.984 kB / 418.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3159, allocations: 0 / 418.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3161, allocations: 168.2 kB / 418.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3161, allocations: 0 / 418.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3164, allocations: 24 kB / 418.4 MB, free: 8.664 MB / 334.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.0001373/0.3165, allocations: 99.25 kB / 418.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.3169, allocations: 135.8 kB / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3169, allocations: 0 / 418.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3171, allocations: 72.11 kB / 418.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3174, allocations: 22.33 kB / 418.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.3181, allocations: 356 kB / 419.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3184, allocations: 0.7278 MB / 419.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/0.3184, allocations: 15.44 kB / 419.8 MB, free: 7.188 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3185, allocations: 4 kB / 419.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of Templates: time 0.003769/0.3222, allocations: 2.009 MB / 421.8 MB, free: 5.188 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (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 & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "" Variables in the reference:time,logFrequencySweep.y,const.y.re,const.y.im,transferFunction.y.re,transferFunction.y.im Variables in the result:const.y.im,const.y.re,logFrequencySweep.y,time,transferFunction.y.im,transferFunction.y.re