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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 145.2 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.958/0.958, allocations: 173.3 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 268.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.614e-05, allocations: 2.312 kB / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001841/0.001857, allocations: 1.7 MB / 270.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.002635, allocations: 0.6462 MB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.002679, allocations: 0 / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.002875, allocations: 59.64 kB / 270.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.003019, allocations: 31.78 kB / 270.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.003682, allocations: 0.5676 MB / 271.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.003826, allocations: 111.7 kB / 271.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.003897, allocations: 29.81 kB / 271.6 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.004021, allocations: 75.81 kB / 271.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004135, allocations: 71.84 kB / 271.8 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.004153, allocations: 8 kB / 271.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.00429, allocations: 99.8 kB / 271.9 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.004331, allocations: 39.89 kB / 271.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.004363, allocations: 35.84 kB / 271.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.004567, allocations: 195.3 kB / 272.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004569, allocations: 4 kB / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004569, allocations: 0 / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.004573, allocations: 0 / 272.1 MB, free: 2.52 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.0007128/0.005286, allocations: 456.1 kB / 272.6 MB, free: 2.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.005312, allocations: 8.922 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/0.00602, allocations: 200.7 kB / 272.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.006139, allocations: 145.5 kB / 272.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.006151, allocations: 8.234 kB / 272.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.006164, allocations: 12.31 kB / 272.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.006326, allocations: 133.7 kB / 273.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.006332, allocations: 192 / 273.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.006343, allocations: 4.375 kB / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.006364, allocations: 15.92 kB / 273.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.006434, allocations: 47.92 kB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.00683, allocations: 314.6 kB / 273.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.006968, allocations: 136.1 kB / 273.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.007009, allocations: 35.67 kB / 273.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.007023, allocations: 4 kB / 273.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.007041, allocations: 34.56 kB / 273.7 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.007042, allocations: 0 / 273.7 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000157/0.007199, allocations: 105.8 kB / 273.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.007222, allocations: 51.41 kB / 273.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.007293, allocations: 149.6 kB / 274 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.007305, allocations: 25.7 kB / 274 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.007347, allocations: 115.9 kB / 274.1 MB, free: 432 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.00737, allocations: 47.56 kB / 274.1 MB, free: 384 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.007412, allocations: 33.69 kB / 274.2 MB, free: 344 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.007478, allocations: 330.8 kB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.007516, allocations: 14.88 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.007554, allocations: 42.5 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.007634, allocations: 77.28 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007636, allocations: 0 / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001018/0.007738, allocations: 92.42 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.007747, allocations: 8 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007751, allocations: 0 / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.007762, allocations: 4.062 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.007878, allocations: 43.89 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.007883, allocations: 7.938 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.007927, allocations: 7.953 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007935, allocations: 0 / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 5.735e-05/0.007992, allocations: 124.6 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.008016, allocations: 12 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.00816, allocations: 129.3 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008162, allocations: 4 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.008164, allocations: 7.875 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008167, allocations: 4 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.008288, allocations: 121.8 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008289, allocations: 0 / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.241e-05/0.008381, allocations: 43.95 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008383, allocations: 0 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.008391, allocations: 0 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008393, allocations: 4 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008394, allocations: 3.938 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.008529, allocations: 246.1 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.008543, allocations: 27.83 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.008557, allocations: 4 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.008611, allocations: 4 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.008645, allocations: 15.97 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.008652, allocations: 0 / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.008677, allocations: 39.75 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008677, allocations: 0 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.008823, allocations: 31.94 kB / 275.6 MB, free: 14.83 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 (18): * Single equations (assignments): 18 * 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 7.793e-05/0.008901, allocations: 96.11 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.009007, allocations: 76.75 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.00901, allocations: 0 / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.009058, allocations: 52.75 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.009195, allocations: 23.92 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.009623, allocations: 290.5 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.009663, allocations: 75.83 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.009719, allocations: 21.14 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.009807, allocations: 75.36 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009808, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Templates: time 0.003245/0.01305, allocations: 2.046 MB / 278.3 MB, free: 12.05 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",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.485918160993606]