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.001533/0.001533, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.375/1.375, allocations: 223.3 MB / 241.4 MB, free: 9.871 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.0008328/0.0008328, allocations: 91.64 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003536, allocations: 11.94 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2281, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09477/0.3229, allocations: 77.92 MB / 480.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.3232, allocations: 67.97 kB / 480.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.3344, allocations: 3.842 MB / 484.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3345, allocations: 0 / 484.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3345, allocations: 0 / 484.6 MB, free: 14.51 MB / 362.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.001932/0.3364, allocations: 0.6591 MB / 485.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3365, allocations: 8.031 kB / 485.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.3366, allocations: 20.75 kB / 485.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3367, allocations: 200 kB / 485.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3368, allocations: 12.55 kB / 485.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.3368, allocations: 12.38 kB / 485.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.3372, allocations: 180.9 kB / 485.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3372, allocations: 192 / 485.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3372, allocations: 7.938 kB / 485.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3372, allocations: 8 kB / 485.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.3377, allocations: 204.2 kB / 485.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009287/0.3386, allocations: 0.5631 MB / 486.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.339, allocations: 182.5 kB / 486.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.3393, allocations: 104.8 kB / 486.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.3393, allocations: 4 kB / 486.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3393, allocations: 34.56 kB / 486.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3393, allocations: 0 / 486.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007328/0.3401, allocations: 297.3 kB / 487 MB, free: 11.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3401, allocations: 51.41 kB / 487.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3403, allocations: 187.2 kB / 487.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3404, allocations: 25.7 kB / 487.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.3404, allocations: 116.1 kB / 487.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3405, allocations: 55.19 kB / 487.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.3405, allocations: 4 kB / 487.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3406, allocations: 322.8 kB / 487.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3409, allocations: 79.94 kB / 487.9 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3411, allocations: 115.9 kB / 488 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.3415, allocations: 199.7 kB / 488.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3415, allocations: 4 kB / 488.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004886/0.342, allocations: 233.5 kB / 488.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.342, allocations: 4.094 kB / 488.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.342, allocations: 8 kB / 488.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3421, allocations: 3.938 kB / 488.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.3423, allocations: 35.97 kB / 488.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3423, allocations: 3.984 kB / 488.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.3425, allocations: 23.81 kB / 488.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3425, allocations: 7.984 kB / 488.5 MB, free: 10.35 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3426, allocations: 141.7 kB / 488.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.3427, allocations: 11.91 kB / 488.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.3433, allocations: 269.9 kB / 488.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3433, allocations: 8 kB / 488.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3433, allocations: 0 / 488.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3433, allocations: 3.984 kB / 488.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.3436, allocations: 289.3 kB / 489.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3436, allocations: 0 / 489.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3438, allocations: 39.91 kB / 489.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3439, allocations: 4 kB / 489.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.3439, allocations: 11.92 kB / 489.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3439, allocations: 0 / 489.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3439, allocations: 0 / 489.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.3445, allocations: 339.2 kB / 489.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.3445, allocations: 96.84 kB / 489.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3446, allocations: 11.94 kB / 489.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3447, allocations: 8 kB / 489.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.3448, allocations: 19.97 kB / 489.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3448, allocations: 7.938 kB / 489.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.345, allocations: 139.7 kB / 489.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.345, allocations: 0 / 489.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.3453, allocations: 39.92 kB / 489.9 MB, free: 8.832 MB / 362.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 (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.0001741/0.3454, allocations: 111.2 kB / 490 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.3459, allocations: 195.8 kB / 490.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3459, allocations: 192 / 490.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3461, allocations: 118.6 kB / 490.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3464, allocations: 18.8 kB / 490.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.3471, allocations: 378.2 kB / 490.7 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.3474, allocations: 0.7285 MB / 491.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.3475, allocations: 33.41 kB / 491.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.3476, allocations: 31.41 kB / 491.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3476, allocations: 0 / 491.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of Templates: time 0.004315/0.3519, allocations: 1.827 MB / 493.3 MB, free: 5.375 MB / 362.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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