Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 106.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008531/0.0008532, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2817, allocations: 49.43 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002996/0.2848, allocations: 1.685 MB / 401.1 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2859, allocations: 0.6376 MB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.286, allocations: 4 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.2863, allocations: 43.84 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2864, allocations: 23.84 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2875, allocations: 0.5902 MB / 402.4 MB, free: 30.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.2876, allocations: 99.69 kB / 402.5 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2878, allocations: 37.03 kB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2879, allocations: 51.83 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2881, allocations: 75.67 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.2881, allocations: 4 kB / 402.7 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2883, allocations: 143.8 kB / 402.8 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.2884, allocations: 43.78 kB / 402.9 MB, free: 29.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.2885, allocations: 51.66 kB / 402.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.2888, allocations: 215.5 kB / 403.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2888, allocations: 4 kB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2888, allocations: 0 / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2888, allocations: 0 / 403.2 MB, free: 29.65 MB / 298.7 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.001443/0.2902, allocations: 0.5589 MB / 403.7 MB, free: 29.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2903, allocations: 8.031 kB / 403.7 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.2915, allocations: 176.5 kB / 403.9 MB, free: 28.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2916, allocations: 203.9 kB / 404.1 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2916, allocations: 12.31 kB / 404.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2917, allocations: 8.375 kB / 404.1 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.292, allocations: 185.8 kB / 404.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2921, allocations: 0 / 404.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2921, allocations: 0 / 404.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.2921, allocations: 12 kB / 404.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.2925, allocations: 171.9 kB / 404.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.2933, allocations: 0.5352 MB / 405 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.2937, allocations: 178.5 kB / 405.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2939, allocations: 100.8 kB / 405.3 MB, free: 27.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.2939, allocations: 4 kB / 405.3 MB, free: 27.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.294, allocations: 38.48 kB / 405.3 MB, free: 27.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.294, allocations: 0 / 405.3 MB, free: 27.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006512/0.2946, allocations: 278.4 kB / 405.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2947, allocations: 59.47 kB / 405.6 MB, free: 26.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2948, allocations: 189.1 kB / 405.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2949, allocations: 25.7 kB / 405.9 MB, free: 26.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.2949, allocations: 111.9 kB / 406 MB, free: 26.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.2949, allocations: 55.28 kB / 406 MB, free: 26.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.295, allocations: 37.61 kB / 406.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.2951, allocations: 330.8 kB / 406.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2953, allocations: 71.94 kB / 406.5 MB, free: 26.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.2955, allocations: 107.3 kB / 406.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.2958, allocations: 187.3 kB / 406.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2958, allocations: 0 / 406.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004232/0.2963, allocations: 226.4 kB / 407 MB, free: 25.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2963, allocations: 5.094 kB / 407 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2963, allocations: 12.03 kB / 407 MB, free: 25.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2963, allocations: 0 / 407 MB, free: 25.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.2966, allocations: 39.91 kB / 407 MB, free: 25.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2966, allocations: 7.984 kB / 407 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2967, allocations: 23.77 kB / 407 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.2967, allocations: 7.984 kB / 407.1 MB, free: 25.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.336e-05/0.2968, allocations: 125.8 kB / 407.2 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.2969, allocations: 19.8 kB / 407.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.2974, allocations: 270.2 kB / 407.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2974, allocations: 0 / 407.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2974, allocations: 0 / 407.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2974, allocations: 0 / 407.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.2977, allocations: 289.3 kB / 407.7 MB, free: 24.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2977, allocations: 0 / 407.7 MB, free: 24.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2979, allocations: 35.97 kB / 407.8 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.298, allocations: 4 kB / 407.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.298, allocations: 15.92 kB / 407.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.298, allocations: 0 / 407.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.298, allocations: 0 / 407.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.2988, allocations: 0.9969 MB / 408.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.2988, allocations: 100.8 kB / 408.9 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.2989, allocations: 0 / 408.9 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.299, allocations: 12 kB / 408.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.2991, allocations: 11.97 kB / 408.9 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2991, allocations: 11.98 kB / 408.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.2992, allocations: 135.9 kB / 409.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2992, allocations: 0 / 409.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.2995, allocations: 28 kB / 409.1 MB, free: 23.32 MB / 298.7 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001323/0.2997, allocations: 111.2 kB / 409.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.3001, allocations: 190.5 kB / 409.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3001, allocations: 192 / 409.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3003, allocations: 107.9 kB / 409.5 MB, free: 22.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3006, allocations: 18.34 kB / 409.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.3013, allocations: 0.5437 MB / 410.1 MB, free: 22.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3014, allocations: 0.74 MB / 410.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3016, allocations: 33.39 kB / 410.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.3017, allocations: 23.42 kB / 410.8 MB, free: 21.5 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3017, allocations: 0 / 410.8 MB, free: 21.5 MB / 298.7 MB Notification: Performance of Templates: time 0.00419/0.3059, allocations: 2.005 MB / 412.9 MB, free: 19.51 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches