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.001508/0.001508, allocations: 115.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.89 kB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2714, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00257/0.274, allocations: 1.689 MB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2752, allocations: 0.7477 MB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.2753, allocations: 4 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.2755, allocations: 47.72 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.2757, allocations: 43.66 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.2766, allocations: 0.498 MB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.2768, allocations: 131.2 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2769, allocations: 21.56 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.277, allocations: 63.7 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.2773, allocations: 91.66 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.2773, allocations: 8 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.2775, allocations: 135.8 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.2776, allocations: 35.84 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.2777, allocations: 51.67 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.278, allocations: 211.2 kB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.278, allocations: 0 / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.278, allocations: 0 / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.278, allocations: 3.938 kB / 413.7 MB, free: 13.85 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.001227/0.2792, allocations: 0.5235 MB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2793, allocations: 12.02 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.28, allocations: 108.6 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2801, allocations: 200 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2802, allocations: 8.375 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.2802, allocations: 12.38 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.2806, allocations: 161 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2806, allocations: 0 / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2806, allocations: 4 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.2806, allocations: 8 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.281, allocations: 159.8 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.282, allocations: 0.5741 MB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.2824, allocations: 138.6 kB / 415.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.2826, allocations: 76.75 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2826, allocations: 0 / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2826, allocations: 30.56 kB / 415.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2826, allocations: 4.188 kB / 415.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005927/0.2832, allocations: 205.4 kB / 415.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2833, allocations: 63.34 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.2835, allocations: 207.3 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2835, allocations: 29.64 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.2836, allocations: 124.1 kB / 416.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.2837, allocations: 31.55 kB / 416.3 MB, free: 11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.2837, allocations: 33.62 kB / 416.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2839, allocations: 326.8 kB / 416.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.284, allocations: 59.95 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.2842, allocations: 88.23 kB / 416.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2846, allocations: 156.2 kB / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2846, allocations: 0 / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004424/0.285, allocations: 201.5 kB / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2851, allocations: 6.188 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2851, allocations: 4.062 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2851, allocations: 8 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2853, allocations: 27.98 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2853, allocations: 4 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2854, allocations: 19.83 kB / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2854, allocations: 4 kB / 417.2 MB, free: 10.03 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.0001043/0.2856, allocations: 133.8 kB / 417.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.2856, allocations: 15.84 kB / 417.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.2861, allocations: 186.8 kB / 417.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2861, allocations: 4 kB / 417.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2861, allocations: 0 / 417.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/0.2862, allocations: 101 kB / 417.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2862, allocations: 3.984 kB / 417.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.2864, allocations: 4 kB / 417.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.2864, allocations: 11.98 kB / 417.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005032/0.2869, allocations: 256.8 kB / 417.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000438/0.2874, allocations: 334.6 kB / 418.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001686/0.2876, allocations: 59.95 kB / 418.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.2877, allocations: 164.2 kB / 418.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of Backend: time 5.52e-07/0.2877, allocations: 0 / 418.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006631/0.2884, allocations: 190.4 kB / 418.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of SimCode: time 0.00074/0.2891, allocations: 0.7451 MB / 419.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of Templates: time 0.005892/0.295, allocations: 2.719 MB / 422.1 MB, free: 5.023 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