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.001652/0.001652, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002006, allocations: 198.7 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.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2724, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003927/0.2764, allocations: 1.69 MB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2782, allocations: 0.7516 MB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2783, allocations: 4 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.2787, allocations: 47.7 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.279, allocations: 43.66 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2804, allocations: 0.498 MB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.2807, allocations: 119.6 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2808, allocations: 25.56 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.281, allocations: 59.7 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.2813, allocations: 87.66 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.2813, allocations: 8 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.2818, allocations: 135.9 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.2819, allocations: 39.83 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.282, allocations: 59.59 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.2824, allocations: 207.2 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2825, allocations: 0 / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2825, allocations: 0 / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2825, allocations: 0 / 413.7 MB, free: 13.82 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.001781/0.2843, allocations: 0.5313 MB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2843, allocations: 8.031 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.2855, allocations: 100.6 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.2857, allocations: 200 kB / 414.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2858, allocations: 8.375 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.2858, allocations: 16.38 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.2863, allocations: 157.9 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2864, allocations: 0 / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.2864, allocations: 7.984 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.2864, allocations: 4 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.287, allocations: 159.8 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.2884, allocations: 0.5663 MB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.289, allocations: 150.7 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.2893, allocations: 72.69 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2893, allocations: 4 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2894, allocations: 38.56 kB / 415.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.2894, allocations: 0 / 415.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008767/0.2903, allocations: 205.4 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2903, allocations: 51.41 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.2906, allocations: 215.3 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2907, allocations: 25.7 kB / 416.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2908, allocations: 128.1 kB / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.2908, allocations: 31.56 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.2909, allocations: 33.61 kB / 416.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2911, allocations: 322.8 kB / 416.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.2913, allocations: 59.95 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.2916, allocations: 92.25 kB / 416.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.2922, allocations: 160.1 kB / 417 MB, free: 10.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2923, allocations: 0 / 417 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007127/0.293, allocations: 193.6 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.293, allocations: 8 kB / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.293, allocations: 8.062 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.2931, allocations: 7.938 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2934, allocations: 24.11 kB / 417.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.2934, allocations: 11.94 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.2937, allocations: 15.83 kB / 417.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2937, allocations: 12 kB / 417.2 MB, free: 9.98 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.0001853/0.2939, allocations: 125.8 kB / 417.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.294, allocations: 15.84 kB / 417.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.2948, allocations: 186.8 kB / 417.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.2948, allocations: 4 kB / 417.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2948, allocations: 0 / 417.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.295, allocations: 101 kB / 417.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.295, allocations: 4 kB / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2953, allocations: 11.98 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.2954, allocations: 7.984 kB / 417.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008802/0.2963, allocations: 244.7 kB / 417.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008044/0.2971, allocations: 338.8 kB / 418.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003084/0.2974, allocations: 63.95 kB / 418.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.2977, allocations: 156.2 kB / 418.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Backend: time 8.22e-07/0.2977, allocations: 4 kB / 418.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2987, allocations: 198.2 kB / 418.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of SimCode: time 0.001094/0.2998, allocations: 0.7415 MB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of Templates: time 0.0108/0.3107, allocations: 2.714 MB / 422.1 MB, free: 4.984 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:a[1],a[2],a[3],b[1],c,complexToPolar.useConjugateInput,const.k.im,const.k.re,const.y.im,const.y.re,d,logFrequencySweep.duration,logFrequencySweep.startTime,logFrequencySweep.wMax,logFrequencySweep.wMin,logFrequencySweep.y,m,time,transferFunction.a[1],transferFunction.a[2],transferFunction.a[3],transferFunction.aw[3].re,transferFunction.bSum.re,transferFunction.b[1],transferFunction.bw[1].re,transferFunction.u.im,transferFunction.u.re,transferFunction.uInternal.im,transferFunction.uInternal.re,transferFunction.useConjugateInput,transferFunction.y.im,transferFunction.y.re,wMax,wMin