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.0009102/0.0009102, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 87.19 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.544e-05, allocations: 3.938 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 50.42 MB / 387.4 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.3966, allocations: 77.15 MB / 464.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.3969, allocations: 63.97 kB / 464.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.4082, allocations: 3.755 MB / 468.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4083, allocations: 0 / 468.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4083, allocations: 0 / 468.4 MB, free: 13.91 MB / 346.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.002026/0.4103, allocations: 0.6353 MB / 469 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4104, allocations: 8.469 kB / 469.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.4104, allocations: 19.77 kB / 469.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.4106, allocations: 194.8 kB / 469.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4107, allocations: 4 kB / 469.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.4107, allocations: 11.94 kB / 469.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002996/0.411, allocations: 160.1 kB / 469.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.4113, allocations: 158.4 kB / 469.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4113, allocations: 0 / 469.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4113, allocations: 0 / 469.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.4114, allocations: 4 kB / 469.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.4123, allocations: 0.5055 MB / 470.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.4126, allocations: 154.5 kB / 470.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.4127, allocations: 87.52 kB / 470.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.4128, allocations: 12 kB / 470.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4128, allocations: 30.56 kB / 470.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.4128, allocations: 0 / 470.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003789/0.4132, allocations: 169.5 kB / 470.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4132, allocations: 51.41 kB / 470.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.4134, allocations: 137.5 kB / 470.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4134, allocations: 30.45 kB / 470.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.4135, allocations: 115.9 kB / 470.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.4136, allocations: 47.3 kB / 470.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.4136, allocations: 0 / 470.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4137, allocations: 326.8 kB / 471.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.4138, allocations: 55.97 kB / 471.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4139, allocations: 89.62 kB / 471.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4141, allocations: 73.7 kB / 471.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4141, allocations: 3.938 kB / 471.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003114/0.4144, allocations: 189.4 kB / 471.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4144, allocations: 4 kB / 471.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4145, allocations: 3.984 kB / 471.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4145, allocations: 4 kB / 471.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.4148, allocations: 44 kB / 471.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4148, allocations: 3.938 kB / 471.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4149, allocations: 19.83 kB / 471.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.415, allocations: 4 kB / 471.7 MB, free: 10.39 MB / 346.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 0.0001169/0.4151, allocations: 120.9 kB / 471.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.4151, allocations: 7.906 kB / 471.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.4156, allocations: 224.8 kB / 472.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4156, allocations: 4 kB / 472.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4156, allocations: 0 / 472.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4156, allocations: 0 / 472.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.416, allocations: 250 kB / 472.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.416, allocations: 0 / 472.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.4163, allocations: 43.89 kB / 472.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4163, allocations: 0 / 472.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.4163, allocations: 8 kB / 472.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4163, allocations: 8 kB / 472.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4163, allocations: 0 / 472.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.4167, allocations: 295.2 kB / 472.7 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.4168, allocations: 96.84 kB / 472.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4168, allocations: 3.953 kB / 472.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.417, allocations: 11.98 kB / 472.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.4171, allocations: 15.98 kB / 472.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.4171, allocations: 11.98 kB / 472.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.4172, allocations: 114.5 kB / 472.9 MB, free: 9.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4172, allocations: 0 / 472.9 MB, free: 9.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.4175, allocations: 28 kB / 472.9 MB, free: 9.098 MB / 346.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.0002458/0.4178, allocations: 119.1 kB / 473.1 MB, free: 8.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.4182, allocations: 155.8 kB / 473.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4182, allocations: 0 / 473.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4183, allocations: 95.89 kB / 473.3 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.4186, allocations: 4.516 kB / 473.3 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.4191, allocations: 226.1 kB / 473.5 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4194, allocations: 0.732 MB / 474.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.4195, allocations: 33.12 kB / 474.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.4196, allocations: 23.42 kB / 474.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4196, allocations: 0 / 474.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of Templates: time 0.00434/0.424, allocations: 1.543 MB / 475.9 MB, free: 6.133 MB / 346.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