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.001148/0.001148, allocations: 179.5 kB / 16.38 MB, free: 5.766 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.327/1.327, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009407/0.0009407, allocations: 98.81 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 4 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 50.39 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3806, allocations: 77.88 MB / 479.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3809, allocations: 71.95 kB / 479.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.3928, allocations: 3.843 MB / 483.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3928, allocations: 0 / 483.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3928, allocations: 4 kB / 483.3 MB, free: 14.73 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.002095/0.3949, allocations: 0.655 MB / 483.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.395, allocations: 12.03 kB / 483.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.395, allocations: 19.7 kB / 484 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3952, allocations: 189.5 kB / 484.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.3953, allocations: 12.17 kB / 484.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3953, allocations: 12 kB / 484.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.3957, allocations: 184.4 kB / 484.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3957, allocations: 0 / 484.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.3958, allocations: 7.953 kB / 484.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3958, allocations: 4 kB / 484.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.3962, allocations: 204.3 kB / 484.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3973, allocations: 0.5592 MB / 485.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.3978, allocations: 190.4 kB / 485.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3978, allocations: 3.984 kB / 485.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3979, allocations: 38.56 kB / 485.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.3979, allocations: 0 / 485.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000801/0.3987, allocations: 369.8 kB / 485.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3987, allocations: 59.36 kB / 485.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3989, allocations: 166.5 kB / 485.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3989, allocations: 33.7 kB / 486 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.399, allocations: 112.1 kB / 486.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.3991, allocations: 47.2 kB / 486.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.3991, allocations: 8 kB / 486.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3993, allocations: 322.8 kB / 486.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3995, allocations: 83.88 kB / 486.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3997, allocations: 111.3 kB / 486.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3999, allocations: 84.7 kB / 486.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3999, allocations: 4 kB / 486.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005693/0.4005, allocations: 240.6 kB / 487 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4005, allocations: 6.812 kB / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4005, allocations: 0 / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4006, allocations: 8.094 kB / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.4008, allocations: 39.91 kB / 487 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4008, allocations: 0 / 487 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.401, allocations: 27.84 kB / 487 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.401, allocations: 7.984 kB / 487 MB, free: 10.72 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.0001262/0.4012, allocations: 133.7 kB / 487.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4012, allocations: 15.91 kB / 487.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/0.4018, allocations: 270.9 kB / 487.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4019, allocations: 0 / 487.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4019, allocations: 4 kB / 487.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4019, allocations: 11.92 kB / 487.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.4022, allocations: 285.3 kB / 487.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4022, allocations: 0 / 487.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.4025, allocations: 43.91 kB / 487.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4025, allocations: 0 / 487.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.4025, allocations: 11.98 kB / 487.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4025, allocations: 0 / 487.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4025, allocations: 0 / 487.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.4031, allocations: 350.1 kB / 488.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.4032, allocations: 92.91 kB / 488.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.4032, allocations: 7.984 kB / 488.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.4034, allocations: 12 kB / 488.3 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.4035, allocations: 19.97 kB / 488.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.4035, allocations: 11.92 kB / 488.3 MB, free: 9.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4036, allocations: 135.7 kB / 488.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4036, allocations: 0 / 488.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000295/0.4039, allocations: 39.92 kB / 488.5 MB, free: 9.211 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.0001938/0.4041, allocations: 119.2 kB / 488.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.4046, allocations: 191.8 kB / 488.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4046, allocations: 0 / 488.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.4049, allocations: 116.1 kB / 488.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.4051, allocations: 19.92 kB / 488.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006798/0.4058, allocations: 366.3 kB / 489.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4062, allocations: 0.7324 MB / 490 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.4063, allocations: 29.42 kB / 490 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.4064, allocations: 23.41 kB / 490 MB, free: 7.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.254e-06/0.4064, allocations: 4 kB / 490 MB, free: 7.57 MB / 362.7 MB Notification: Performance of Templates: time 0.004645/0.4111, allocations: 1.818 MB / 491.9 MB, free: 5.77 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/jenkins/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