Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 181.3 kB / 8.7 MB, free: 352 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009026/0.0009027, allocations: 86.64 kB / 262.5 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.458e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09404, allocations: 47.59 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/0.3864, allocations: 76.47 MB / 439.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.3867, allocations: 70.47 kB / 439.6 MB, free: 3.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.3973, allocations: 3.686 MB / 443.3 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3973, allocations: 0 / 443.3 MB, free: 184 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3973, allocations: 4 kB / 443.3 MB, free: 180 kB / 314.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.001974/0.3993, allocations: 0.6431 MB / 443.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3994, allocations: 8.031 kB / 443.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.3994, allocations: 15.81 kB / 444 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3996, allocations: 189.5 kB / 444.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3996, allocations: 7.953 kB / 444.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3997, allocations: 8 kB / 444.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002974/0.4, allocations: 164.6 kB / 444.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4002, allocations: 153.6 kB / 444.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4002, allocations: 0 / 444.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.4003, allocations: 0 / 444.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4003, allocations: 7.5 kB / 444.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.4012, allocations: 0.5049 MB / 445 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.4015, allocations: 156.1 kB / 445.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4016, allocations: 80.02 kB / 445.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.4016, allocations: 3.984 kB / 445.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4017, allocations: 42.92 kB / 445.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4017, allocations: 8 kB / 445.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003306/0.402, allocations: 170.7 kB / 445.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.402, allocations: 55.34 kB / 445.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4022, allocations: 138.7 kB / 445.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4022, allocations: 25.7 kB / 445.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.4023, allocations: 117.4 kB / 445.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4023, allocations: 49.48 kB / 445.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.4023, allocations: 0 / 445.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4025, allocations: 324.2 kB / 446.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.4025, allocations: 57.36 kB / 446.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.4026, allocations: 87.94 kB / 446.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.4028, allocations: 70.02 kB / 446.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4028, allocations: 0 / 446.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000281/0.4031, allocations: 195 kB / 446.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4031, allocations: 8 kB / 446.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4031, allocations: 0 / 446.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4031, allocations: 3.953 kB / 446.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4034, allocations: 39.91 kB / 446.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.4034, allocations: 7.984 kB / 446.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.4035, allocations: 15.84 kB / 446.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.4036, allocations: 7.984 kB / 446.6 MB, free: 13.12 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.4037, allocations: 105 kB / 446.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.4037, allocations: 15.84 kB / 446.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.4041, allocations: 226.1 kB / 446.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4041, allocations: 0 / 446.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4041, allocations: 4 kB / 447 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4041, allocations: 7.938 kB / 447 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.4044, allocations: 240 kB / 447.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4044, allocations: 4 kB / 447.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.4046, allocations: 47.09 kB / 447.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4047, allocations: 0 / 447.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4047, allocations: 3.984 kB / 447.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4047, allocations: 4 kB / 447.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4047, allocations: 0 / 447.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.405, allocations: 292.2 kB / 447.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.4051, allocations: 100.5 kB / 447.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4051, allocations: 4 kB / 447.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.4053, allocations: 11.98 kB / 447.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4053, allocations: 11.97 kB / 447.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4054, allocations: 7.984 kB / 447.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.4054, allocations: 110.7 kB / 447.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4055, allocations: 0 / 447.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.4057, allocations: 39.19 kB / 447.8 MB, free: 11.99 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.4059, allocations: 107.2 kB / 447.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.4062, allocations: 158.5 kB / 448.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4062, allocations: 0 / 448.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4063, allocations: 88.53 kB / 448.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.4065, allocations: 11.81 kB / 448.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.407, allocations: 229.7 kB / 448.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.4073, allocations: 0.7318 MB / 449.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.4074, allocations: 29.2 kB / 449.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.4075, allocations: 26.34 kB / 449.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4075, allocations: 4 kB / 449.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of Templates: time 0.003774/0.4113, allocations: 1.549 MB / 450.7 MB, free: 9.145 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches