Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 159.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 274.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.246e-05, allocations: 2.312 kB / 274.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00592/0.005953, allocations: 1.727 MB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.007221, allocations: 0.7303 MB / 276.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.007303, allocations: 5.781 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.007596, allocations: 51.66 kB / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.008927, allocations: 43.64 kB / 276.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.01017, allocations: 473.9 kB / 277.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.01043, allocations: 127.5 kB / 277.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.01057, allocations: 13.81 kB / 277.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.01075, allocations: 75.8 kB / 277.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.01103, allocations: 81.59 kB / 277.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.01107, allocations: 11.98 kB / 277.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.01138, allocations: 123.8 kB / 277.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.01146, allocations: 35.84 kB / 277.6 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.01152, allocations: 39.84 kB / 277.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.0119, allocations: 187.8 kB / 277.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01191, allocations: 0.5938 kB / 277.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01191, allocations: 0 / 277.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.01192, allocations: 0.6562 kB / 277.8 MB, free: 0.6172 MB / 250.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.001178/0.01309, allocations: 0.5581 MB / 278.3 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.01314, allocations: 8.031 kB / 278.3 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006611/0.0138, allocations: 116.7 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.01402, allocations: 164.2 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.01404, allocations: 12.38 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.01406, allocations: 8.375 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.01433, allocations: 112.1 kB / 278.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01434, allocations: 192 / 278.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.01436, allocations: 4.375 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.01439, allocations: 11.94 kB / 278.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.01454, allocations: 47.95 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.01536, allocations: 459.8 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01562, allocations: 87.11 kB / 279.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.01569, allocations: 27.72 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.01571, allocations: 7.984 kB / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.01574, allocations: 41.52 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.933e-06/0.01575, allocations: 0 / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002675/0.01601, allocations: 101.5 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.01606, allocations: 55.34 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.01622, allocations: 219.9 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.01623, allocations: 29.7 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01634, allocations: 182.5 kB / 280 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.01637, allocations: 35.72 kB / 280 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.01644, allocations: 43.31 kB / 280.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01661, allocations: 0.4923 MB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.01666, allocations: 15.98 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.01674, allocations: 66.41 kB / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.01686, allocations: 82.36 kB / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01687, allocations: 7.938 kB / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00022/0.01709, allocations: 113.4 kB / 280.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01711, allocations: 7.984 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01711, allocations: 4 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01712, allocations: 0 / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.01728, allocations: 31.92 kB / 280.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01728, allocations: 0 / 280.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.01737, allocations: 7.953 kB / 280.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01738, allocations: 8.125 kB / 280.9 MB, free: 13.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.01749, allocations: 176.5 kB / 281.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.01753, allocations: 15.91 kB / 281.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.01776, allocations: 104.5 kB / 281.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01776, allocations: 0 / 281.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01776, allocations: 3.938 kB / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01777, allocations: 0 / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.01799, allocations: 153.1 kB / 281.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01799, allocations: 0 / 281.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.01812, allocations: 19.98 kB / 281.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01812, allocations: 4 kB / 281.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01813, allocations: 4 kB / 281.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01814, allocations: 4 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.01814, allocations: 3.984 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.0184, allocations: 243.8 kB / 281.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.01846, allocations: 19.89 kB / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01848, allocations: 0 / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01859, allocations: 11.94 kB / 281.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.01863, allocations: 7.984 kB / 281.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01865, allocations: 11.98 kB / 281.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.01874, allocations: 168.6 kB / 281.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01874, allocations: 4 kB / 281.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.01902, allocations: 27.94 kB / 281.9 MB, free: 12.23 MB / 266.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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001659/0.01919, allocations: 97 kB / 282 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.01937, allocations: 67.77 kB / 282 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01938, allocations: 4.062 kB / 282 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.01945, allocations: 43.59 kB / 282.1 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.01977, allocations: 19.98 kB / 282.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.0205, allocations: 285.6 kB / 282.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.02054, allocations: 71.33 kB / 282.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.0206, allocations: 24.62 kB / 282.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.02068, allocations: 86.19 kB / 282.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02068, allocations: 0 / 282.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Templates: time 0.003712/0.02439, allocations: 1.765 MB / 284.3 MB, free: 9.738 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8929616999812424]