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.000964/0.000964, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00198, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007069/0.0007069, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008634/0.00157, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9659/0.9659, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1166/1.082, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.893e-06/1.893e-06, allocations: 0 / 245 MB, free: 13.69 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.151e-05, allocations: 2.312 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002869/0.002891, allocations: 1.782 MB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004116, allocations: 0.7513 MB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.004189, allocations: 0 / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.004395, allocations: 55.66 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.004544, allocations: 43.58 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.005433, allocations: 485.9 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.005815, allocations: 131.5 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.005938, allocations: 18.45 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.006144, allocations: 83.81 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.006426, allocations: 79.78 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.006458, allocations: 12 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.006704, allocations: 127.8 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.006745, allocations: 27.88 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.006783, allocations: 27.88 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.007028, allocations: 167.4 kB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.007042, allocations: 0 / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007043, allocations: 0 / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.007057, allocations: 0 / 248.8 MB, free: 9.898 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.000827/0.007884, allocations: 0.5319 MB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.007919, allocations: 12.62 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.008301, allocations: 124.7 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.008446, allocations: 145.4 kB / 249.6 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.00846, allocations: 8.375 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.008475, allocations: 8.359 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.00865, allocations: 121.7 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.008657, allocations: 192 / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.008668, allocations: 4.375 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.008688, allocations: 19.92 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.008754, allocations: 35.98 kB / 249.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.009187, allocations: 334.6 kB / 250.1 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.009354, allocations: 126.9 kB / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.009386, allocations: 23.67 kB / 250.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.009401, allocations: 0 / 250.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.009423, allocations: 38.56 kB / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.009423, allocations: 0 / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001443/0.009568, allocations: 81.8 kB / 250.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.009598, allocations: 55.34 kB / 250.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.009714, allocations: 167.2 kB / 250.6 MB, free: 7.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.009727, allocations: 29.7 kB / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.009778, allocations: 123.8 kB / 250.7 MB, free: 7.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.009797, allocations: 31.73 kB / 250.7 MB, free: 7.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.009839, allocations: 33.66 kB / 250.8 MB, free: 7.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.009922, allocations: 322.8 kB / 251.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.009948, allocations: 22.75 kB / 251.1 MB, free: 7.355 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.009988, allocations: 48.27 kB / 251.2 MB, free: 7.293 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/0.01006, allocations: 79.02 kB / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01007, allocations: 0 / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001068/0.01017, allocations: 96.73 kB / 251.3 MB, free: 7.098 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01019, allocations: 4 kB / 251.3 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01019, allocations: 4.125 kB / 251.3 MB, free: 7.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.0102, allocations: 8 kB / 251.3 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.0103, allocations: 31.92 kB / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.01031, allocations: 3.938 kB / 251.4 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.01035, allocations: 15.92 kB / 251.4 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.01036, allocations: 4 kB / 251.4 MB, free: 7.027 MB / 250.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 6.076e-05/0.01042, allocations: 116.7 kB / 251.5 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.01044, allocations: 11.98 kB / 251.5 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.01055, allocations: 102.9 kB / 251.6 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01055, allocations: 8 kB / 251.6 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01055, allocations: 3.938 kB / 251.6 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01056, allocations: 0 / 251.6 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.01067, allocations: 101.8 kB / 251.7 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01067, allocations: 4 kB / 251.7 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.01073, allocations: 19.98 kB / 251.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.01076, allocations: 19.89 kB / 251.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01076, allocations: 0 / 251.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.01076, allocations: 0 / 251.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.01076, allocations: 0 / 251.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01076, allocations: 4 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.01088, allocations: 234 kB / 252 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.0109, allocations: 0 / 252 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.01094, allocations: 8 kB / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.01097, allocations: 7.969 kB / 252 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.01098, allocations: 4 kB / 252 MB, free: 6.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.214e-05/0.01101, allocations: 41.52 kB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 0 / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000141/0.01115, allocations: 31.88 kB / 252.1 MB, free: 6.273 MB / 250.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.0001064/0.01126, allocations: 84.42 kB / 252.2 MB, free: 6.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.01136, allocations: 68.72 kB / 252.3 MB, free: 6.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.01136, allocations: 4 kB / 252.3 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.0114, allocations: 28.78 kB / 252.3 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.01156, allocations: 35.62 kB / 252.3 MB, free: 6.043 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.01242, allocations: 302.8 kB / 252.6 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01246, allocations: 71.33 kB / 252.7 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.01251, allocations: 20.42 kB / 252.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.01258, allocations: 71.36 kB / 252.8 MB, free: 5.535 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01258, allocations: 0 / 252.8 MB, free: 5.535 MB / 250.7 MB Notification: Performance of Templates: time 0.003189/0.01577, allocations: 1.728 MB / 254.5 MB, free: 3.832 MB / 250.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 -ignoreHideResult -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.4047616170719266]