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.0009445/0.0009445, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.0009802/0.0009802, allocations: 167.9 kB / 25.7 MB, free: 8.445 MB / 18.57 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.9041/0.9041, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.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.673e-06/1.673e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.907e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002486/0.002505, allocations: 1.657 MB / 253.2 MB, free: 5.602 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003557, allocations: 0.6822 MB / 253.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.003608, allocations: 0 / 253.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.003835, allocations: 59.64 kB / 253.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.003991, allocations: 31.8 kB / 254 MB, free: 4.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.004899, allocations: 0.595 MB / 254.6 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.005079, allocations: 119.6 kB / 254.7 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.00516, allocations: 17.95 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.005297, allocations: 75.8 kB / 254.8 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.005424, allocations: 63.8 kB / 254.8 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.005445, allocations: 12 kB / 254.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.005645, allocations: 123.8 kB / 255 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.005693, allocations: 35.84 kB / 255 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.00573, allocations: 31.91 kB / 255 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.005994, allocations: 203.3 kB / 255.2 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005996, allocations: 0 / 255.2 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.005997, allocations: 4 kB / 255.2 MB, free: 3.547 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.006, allocations: 0 / 255.2 MB, free: 3.547 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.000961/0.006961, allocations: 472 kB / 255.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.006992, allocations: 11.98 kB / 255.7 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.008101, allocations: 220.6 kB / 255.9 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.008257, allocations: 141.5 kB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.008275, allocations: 16.23 kB / 256.1 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.008296, allocations: 8.375 kB / 256.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.008506, allocations: 129.7 kB / 256.2 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.008514, allocations: 192 / 256.2 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.008526, allocations: 384 / 256.2 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.00855, allocations: 19.92 kB / 256.2 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.008644, allocations: 43.97 kB / 256.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.009157, allocations: 310.7 kB / 256.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.009325, allocations: 144 kB / 256.7 MB, free: 1.977 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.009377, allocations: 31.67 kB / 256.7 MB, free: 1.941 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.009393, allocations: 4 kB / 256.7 MB, free: 1.938 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.009415, allocations: 34.56 kB / 256.8 MB, free: 1.895 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.009416, allocations: 0 / 256.8 MB, free: 1.895 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002046/0.009621, allocations: 105.8 kB / 256.9 MB, free: 1.785 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.009649, allocations: 51.41 kB / 256.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.00974, allocations: 155.1 kB / 257.1 MB, free: 1.559 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.009754, allocations: 25.7 kB / 257.1 MB, free: 1.527 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.009806, allocations: 115.9 kB / 257.2 MB, free: 1.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.009833, allocations: 43.64 kB / 257.3 MB, free: 1.367 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.00989, allocations: 33.67 kB / 257.3 MB, free: 1.328 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.009974, allocations: 326.8 kB / 257.6 MB, free: 1 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.01002, allocations: 22.81 kB / 257.6 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.01007, allocations: 38.08 kB / 257.7 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.01018, allocations: 77.28 kB / 257.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01018, allocations: 0 / 257.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001485/0.01033, allocations: 98.05 kB / 257.8 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.01034, allocations: 4.062 kB / 257.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01034, allocations: 4 kB / 257.9 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01036, allocations: 0 / 257.9 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.0105, allocations: 39.94 kB / 257.9 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.0105, allocations: 7.938 kB / 257.9 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.01057, allocations: 15.89 kB / 257.9 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01058, allocations: 7.984 kB / 257.9 MB, free: 0.668 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.774e-05/0.01065, allocations: 116.6 kB / 258 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.01068, allocations: 12 kB / 258.1 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.01087, allocations: 122.3 kB / 258.2 MB, free: 412 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01087, allocations: 4 kB / 258.2 MB, free: 408 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01088, allocations: 3.938 kB / 258.2 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01088, allocations: 4 kB / 258.2 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01105, allocations: 129.7 kB / 258.3 MB, free: 252 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.01105, allocations: 7.922 kB / 258.3 MB, free: 244 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.01118, allocations: 35.97 kB / 258.4 MB, free: 208 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01118, allocations: 0 / 258.4 MB, free: 208 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.0112, allocations: 4 kB / 258.4 MB, free: 204 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.0112, allocations: 4 kB / 258.4 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0112, allocations: 0 / 258.4 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.01139, allocations: 253.2 kB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.01141, allocations: 23.83 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01143, allocations: 4 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.01152, allocations: 7.938 kB / 258.6 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.01155, allocations: 15.97 kB / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.01156, allocations: 0 / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.0116, allocations: 36.89 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.01182, allocations: 28 kB / 258.7 MB, free: 15.82 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 (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.172e-05/0.01191, allocations: 88.41 kB / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01204, allocations: 76.66 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01205, allocations: 4 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.01212, allocations: 44.77 kB / 258.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01231, allocations: 19.98 kB / 258.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.01283, allocations: 302.9 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.883e-05/0.01288, allocations: 75.83 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.01295, allocations: 25.12 kB / 259.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01307, allocations: 75.34 kB / 259.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01307, allocations: 0 / 259.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of Templates: time 0.004139/0.01721, allocations: 2.021 MB / 261.4 MB, free: 13.05 MB / 250.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 -s gbode -gbm=radauIIA3 -emit_protected -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.5138272661715746]