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.001163/0.001163, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000969/0.0009689, allocations: 86.61 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003308, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3117, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09731/0.409, allocations: 76.99 MB / 452.8 MB, free: 3.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4093, allocations: 71.91 kB / 452.9 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.4203, allocations: 3.774 MB / 456.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4203, allocations: 0 / 456.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4203, allocations: 8 kB / 456.6 MB, free: 15.83 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.001995/0.4223, allocations: 0.6549 MB / 457.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4224, allocations: 12.03 kB / 457.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.4224, allocations: 16.03 kB / 457.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.4226, allocations: 183.4 kB / 457.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4226, allocations: 20.06 kB / 457.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.4227, allocations: 19.98 kB / 457.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.4231, allocations: 187.2 kB / 457.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4231, allocations: 0 / 457.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.4231, allocations: 8 kB / 457.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.4231, allocations: 0 / 457.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.4236, allocations: 204.3 kB / 457.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.4246, allocations: 0.5422 MB / 458.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.425, allocations: 186.4 kB / 458.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.425, allocations: 3.953 kB / 458.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.425, allocations: 40.78 kB / 458.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.425, allocations: 0 / 458.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007671/0.4258, allocations: 370.5 kB / 459.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.4259, allocations: 55.41 kB / 459.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.426, allocations: 166.5 kB / 459.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4261, allocations: 33.7 kB / 459.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.4261, allocations: 112 kB / 459.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.4262, allocations: 51.25 kB / 459.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.4262, allocations: 4 kB / 459.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4263, allocations: 322.8 kB / 459.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.4266, allocations: 83.88 kB / 459.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.4268, allocations: 107.4 kB / 460 MB, free: 12.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.427, allocations: 88.08 kB / 460.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.427, allocations: 4 kB / 460.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004863/0.4275, allocations: 236.5 kB / 460.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4275, allocations: 7.953 kB / 460.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4275, allocations: 4 kB / 460.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4276, allocations: 8.031 kB / 460.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.4278, allocations: 39.91 kB / 460.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4278, allocations: 3.938 kB / 460.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.428, allocations: 31.83 kB / 460.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.428, allocations: 7.984 kB / 460.4 MB, free: 11.83 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 () * 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.0001102/0.4281, allocations: 125.8 kB / 460.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.4282, allocations: 19.81 kB / 460.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.4288, allocations: 282.7 kB / 460.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4288, allocations: 4 kB / 460.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4288, allocations: 3.953 kB / 460.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4288, allocations: 4 kB / 460.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.4291, allocations: 281.4 kB / 461.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4292, allocations: 0 / 461.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.4294, allocations: 39.91 kB / 461.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4294, allocations: 0 / 461.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.4294, allocations: 11.98 kB / 461.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4294, allocations: 0 / 461.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4294, allocations: 0 / 461.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.43, allocations: 347.2 kB / 461.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.43, allocations: 92.86 kB / 461.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.4301, allocations: 7.984 kB / 461.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.4303, allocations: 12 kB / 461.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.4303, allocations: 19.97 kB / 461.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.4304, allocations: 4 kB / 461.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.4305, allocations: 140.6 kB / 461.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4305, allocations: 0 / 461.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000282/0.4308, allocations: 43.89 kB / 461.8 MB, free: 10.33 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 () * 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.0001668/0.431, allocations: 111.2 kB / 461.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004733/0.4314, allocations: 191.8 kB / 462.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4314, allocations: 0 / 462.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.4317, allocations: 116.1 kB / 462.2 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4319, allocations: 21.64 kB / 462.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.4325, allocations: 364.9 kB / 462.6 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4328, allocations: 0.7283 MB / 463.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.4329, allocations: 29.42 kB / 463.3 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.433, allocations: 31.41 kB / 463.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.433, allocations: 4 kB / 463.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of Templates: time 0.004592/0.4376, allocations: 1.821 MB / 465.2 MB, free: 6.883 MB / 346.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