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.0007483/0.0007483, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001825, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006366/0.0006366, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009554/0.001592, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.7884/0.7884, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1309/0.9194, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.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.232e-06/1.232e-06, allocations: 0 / 239.7 MB, free: 6.402 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.537e-05, allocations: 2.969 kB / 239.7 MB, free: 6.398 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001989/0.002004, allocations: 1.701 MB / 241.4 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.002846, allocations: 0.6398 MB / 242.1 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.002905, allocations: 4 kB / 242.1 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.003088, allocations: 51.66 kB / 242.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.003213, allocations: 36.73 kB / 242.1 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.003927, allocations: 0.5706 MB / 242.7 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.004089, allocations: 111.6 kB / 242.8 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.004169, allocations: 17.95 kB / 242.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.004318, allocations: 84.62 kB / 242.9 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.004465, allocations: 71.83 kB / 243 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.004485, allocations: 9.219 kB / 243 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.004653, allocations: 103.8 kB / 243.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.004698, allocations: 31.94 kB / 243.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.00473, allocations: 28.84 kB / 243.2 MB, free: 2.949 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.004965, allocations: 171.4 kB / 243.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.004974, allocations: 0 / 243.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004974, allocations: 0.9062 kB / 243.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.004986, allocations: 3.984 kB / 243.3 MB, free: 2.777 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.0009275/0.005913, allocations: 0.5577 MB / 243.9 MB, free: 2.176 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.005944, allocations: 8.719 kB / 243.9 MB, free: 2.168 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006885/0.006632, allocations: 194.7 kB / 244.1 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.00677, allocations: 137.6 kB / 244.2 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.006784, allocations: 13.78 kB / 244.2 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.006802, allocations: 12.38 kB / 244.3 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.006994, allocations: 146 kB / 244.4 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.007001, allocations: 0.8125 kB / 244.4 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007013, allocations: 4.375 kB / 244.4 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.007035, allocations: 16.47 kB / 244.4 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.007109, allocations: 44.5 kB / 244.5 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.007542, allocations: 316.3 kB / 244.8 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.007688, allocations: 148.1 kB / 244.9 MB, free: 1.102 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.007726, allocations: 32.83 kB / 244.9 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.007743, allocations: 8 kB / 245 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.007762, allocations: 34.5 kB / 245 MB, free: 1.016 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.007763, allocations: 1 kB / 245 MB, free: 1.016 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001729/0.007936, allocations: 97.39 kB / 245.1 MB, free: 0.918 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.007963, allocations: 60.41 kB / 245.1 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.008041, allocations: 144.6 kB / 245.3 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.008055, allocations: 25.7 kB / 245.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.008099, allocations: 116.7 kB / 245.4 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.008123, allocations: 43.62 kB / 245.5 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.008165, allocations: 34.38 kB / 245.5 MB, free: 476 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.008235, allocations: 330.8 kB / 245.8 MB, free: 136 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.008271, allocations: 19.53 kB / 245.8 MB, free: 116 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.008322, allocations: 46.42 kB / 245.9 MB, free: 60 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.008417, allocations: 76.94 kB / 246 MB, free: 15.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008419, allocations: 0 / 246 MB, free: 15.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001092/0.008528, allocations: 96.42 kB / 246.1 MB, free: 15.87 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.008539, allocations: 7.984 kB / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008543, allocations: 0 / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.008555, allocations: 4.969 kB / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.008684, allocations: 39.89 kB / 246.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.008689, allocations: 7.938 kB / 246.1 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.008736, allocations: 12.45 kB / 246.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.008746, allocations: 8.797 kB / 246.1 MB, free: 15.79 MB / 250.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.23e-05/0.008808, allocations: 114.3 kB / 246.2 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.00883, allocations: 12 kB / 246.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.008999, allocations: 146.1 kB / 246.4 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009001, allocations: 7.938 kB / 246.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.009004, allocations: 3.938 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009008, allocations: 0 / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.009134, allocations: 117.8 kB / 246.5 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009135, allocations: 0 / 246.5 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.009248, allocations: 55.89 kB / 246.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.009261, allocations: 15.84 kB / 246.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.009265, allocations: 3.984 kB / 246.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.009274, allocations: 0 / 246.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009276, allocations: 4 kB / 246.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.009278, allocations: 7.938 kB / 246.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.009425, allocations: 257.6 kB / 246.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.009442, allocations: 8 kB / 246.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.009499, allocations: 8 kB / 246.9 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.009616, allocations: 15.91 kB / 246.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.009625, allocations: 7.984 kB / 246.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.009653, allocations: 35.08 kB / 246.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009653, allocations: 0 / 246.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.009799, allocations: 27.94 kB / 247 MB, free: 14.92 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 (20): * Single equations (assignments): 20 * 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.757e-05/0.009896, allocations: 92.36 kB / 247.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01002, allocations: 80.69 kB / 247.1 MB, free: 14.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.01003, allocations: 4 kB / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.01009, allocations: 64.75 kB / 247.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.0103, allocations: 125.2 kB / 247.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007694/0.01107, allocations: 310.8 kB / 247.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.546e-05/0.01111, allocations: 83.81 kB / 247.7 MB, free: 14.1 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.01117, allocations: 21.14 kB / 247.7 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.01127, allocations: 75.36 kB / 247.8 MB, free: 14 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01127, allocations: 0 / 247.8 MB, free: 14 MB / 250.7 MB Notification: Performance of Templates: time 0.003666/0.01494, allocations: 2.102 MB / 249.9 MB, free: 11.93 MB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1481387512758374]