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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007635/0.0007635, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009228/0.001686, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007162/0.0007162, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009737/0.00169, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8885/0.8885, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1881/1.077, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 221.8 MB, free: 208 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.025e-05, allocations: 6.312 kB / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00204/0.002061, allocations: 1.649 MB / 223.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.002853, allocations: 0.6861 MB / 224.1 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.002904, allocations: 0 / 224.1 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.003067, allocations: 59.66 kB / 224.2 MB, free: 13.78 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.003192, allocations: 39.77 kB / 224.2 MB, free: 13.74 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.00396, allocations: 0.5911 MB / 224.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.004121, allocations: 107.7 kB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.004202, allocations: 25.84 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.004351, allocations: 87.75 kB / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.004472, allocations: 67.84 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.004491, allocations: 8 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.004681, allocations: 123.7 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.004728, allocations: 31.92 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.004762, allocations: 23.94 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.005049, allocations: 175.4 kB / 225.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.005064, allocations: 0 / 225.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005065, allocations: 0 / 225.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.005082, allocations: 0 / 225.5 MB, free: 12.51 MB / 234.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.0009826/0.006065, allocations: 0.5632 MB / 226 MB, free: 11.9 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.006096, allocations: 12.03 kB / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.006816, allocations: 220.6 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.006975, allocations: 145.5 kB / 226.4 MB, free: 11.51 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.006993, allocations: 8.375 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.007012, allocations: 12.38 kB / 226.4 MB, free: 11.49 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.007223, allocations: 129.5 kB / 226.5 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007232, allocations: 4.188 kB / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.007245, allocations: 384 / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.007276, allocations: 11.94 kB / 226.6 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.007353, allocations: 43.97 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.007812, allocations: 322.6 kB / 226.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.007965, allocations: 144 kB / 227.1 MB, free: 10.81 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.008014, allocations: 35.61 kB / 227.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.008033, allocations: 8 kB / 227.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.008054, allocations: 30.56 kB / 227.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.008056, allocations: 3.984 kB / 227.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001707/0.008226, allocations: 93.64 kB / 227.2 MB, free: 10.62 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.00826, allocations: 59.34 kB / 227.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.008344, allocations: 151.1 kB / 227.4 MB, free: 10.39 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.008357, allocations: 29.7 kB / 227.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.008407, allocations: 119.7 kB / 227.6 MB, free: 10.23 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.00843, allocations: 39.64 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.008474, allocations: 37.67 kB / 227.7 MB, free: 10.15 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.008555, allocations: 322.8 kB / 228 MB, free: 9.828 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.008594, allocations: 22.83 kB / 228 MB, free: 9.805 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.008635, allocations: 38.55 kB / 228 MB, free: 9.758 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.128e-05/0.008726, allocations: 80.03 kB / 228.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008729, allocations: 0 / 228.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001148/0.008844, allocations: 100.4 kB / 228.2 MB, free: 9.566 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.008859, allocations: 4 kB / 228.2 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008864, allocations: 0 / 228.2 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.008874, allocations: 4 kB / 228.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.009006, allocations: 35.95 kB / 228.3 MB, free: 9.523 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.009011, allocations: 7.938 kB / 228.3 MB, free: 9.516 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.009059, allocations: 15.89 kB / 228.3 MB, free: 9.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.00907, allocations: 7.984 kB / 228.3 MB, free: 9.492 MB / 234.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 6.284e-05/0.009133, allocations: 116.6 kB / 228.4 MB, free: 9.367 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.009157, allocations: 20.05 kB / 228.4 MB, free: 9.348 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.009319, allocations: 118.3 kB / 228.5 MB, free: 9.227 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.009322, allocations: 0 / 228.5 MB, free: 9.227 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.009326, allocations: 7.938 kB / 228.5 MB, free: 9.219 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009329, allocations: 3.984 kB / 228.5 MB, free: 9.215 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.00946, allocations: 125.7 kB / 228.7 MB, free: 9.074 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009461, allocations: 0 / 228.7 MB, free: 9.074 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.00957, allocations: 47.89 kB / 228.7 MB, free: 9.027 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.009586, allocations: 15.84 kB / 228.7 MB, free: 9.012 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.009588, allocations: 0 / 228.7 MB, free: 9.012 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.009597, allocations: 8 kB / 228.7 MB, free: 9.004 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009599, allocations: 7.938 kB / 228.7 MB, free: 8.996 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.009601, allocations: 0 / 228.7 MB, free: 8.996 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.009759, allocations: 252.7 kB / 229 MB, free: 8.734 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.009776, allocations: 8 kB / 229 MB, free: 8.727 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.009831, allocations: 4 kB / 229 MB, free: 8.723 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.009877, allocations: 19.97 kB / 229 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.009884, allocations: 0 / 229 MB, free: 8.703 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.86e-05/0.009912, allocations: 36.89 kB / 229.1 MB, free: 8.664 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009912, allocations: 0 / 229.1 MB, free: 8.664 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.01006, allocations: 28 kB / 229.1 MB, free: 8.637 MB / 234.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 9.574e-05/0.01015, allocations: 88.41 kB / 229.2 MB, free: 8.543 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01026, allocations: 76.66 kB / 229.2 MB, free: 8.465 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.01027, allocations: 4 kB / 229.3 MB, free: 8.461 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.01031, allocations: 44.77 kB / 229.3 MB, free: 8.414 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01047, allocations: 44.02 kB / 229.3 MB, free: 8.371 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.01122, allocations: 298.9 kB / 229.6 MB, free: 8.055 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.01126, allocations: 75.83 kB / 229.7 MB, free: 7.961 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.01132, allocations: 25.08 kB / 229.7 MB, free: 7.934 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.0114, allocations: 71.36 kB / 229.8 MB, free: 7.863 MB / 234.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0114, allocations: 0 / 229.8 MB, free: 7.863 MB / 234.7 MB Notification: Performance of Templates: time 0.003684/0.01509, allocations: 2.044 MB / 231.8 MB, free: 5.824 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",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.5797937558963895]