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.0008004/0.0008004, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001989, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007256/0.0007256, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001685, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9006/0.9006, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1488/1.049, allocations: 49.49 MB / 220.7 MB, free: 1.363 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.733e-06/1.733e-06, allocations: 0 / 221.9 MB, free: 104 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.276e-05, allocations: 6.25 kB / 222 MB, free: 96 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001796/0.001809, allocations: 1.657 MB / 223.6 MB, free: 14.42 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.002582, allocations: 0.69 MB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.002632, allocations: 4 kB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.00278, allocations: 47.73 kB / 224.4 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.002884, allocations: 43.7 kB / 224.4 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.003639, allocations: 0.595 MB / 225 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.003812, allocations: 111.6 kB / 225.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.003903, allocations: 25.84 kB / 225.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.004072, allocations: 83.81 kB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.004257, allocations: 63.84 kB / 225.3 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.004279, allocations: 12 kB / 225.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.004501, allocations: 127.7 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.004544, allocations: 23.92 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.004581, allocations: 27.88 kB / 225.5 MB, free: 12.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.004826, allocations: 179.5 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.004835, allocations: 0 / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004835, allocations: 0 / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.004846, allocations: 0 / 225.6 MB, free: 12.39 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.001152/0.005998, allocations: 0.5593 MB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.006026, allocations: 8.031 kB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/0.006761, allocations: 224.6 kB / 226.4 MB, free: 11.56 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.006898, allocations: 137.6 kB / 226.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.006915, allocations: 16.31 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.006935, allocations: 12.38 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.007122, allocations: 133.5 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.007134, allocations: 4.188 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.007146, allocations: 384 / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.007177, allocations: 11.92 kB / 226.7 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.007258, allocations: 51.95 kB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.007717, allocations: 306.7 kB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.007863, allocations: 148 kB / 227.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.007903, allocations: 35.66 kB / 227.3 MB, free: 10.66 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.007921, allocations: 7.984 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.007942, allocations: 34.56 kB / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.007944, allocations: 0 / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001683/0.008112, allocations: 98.14 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.008136, allocations: 51.41 kB / 227.4 MB, free: 10.44 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.008215, allocations: 151.1 kB / 227.6 MB, free: 10.28 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.008228, allocations: 29.64 kB / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.008272, allocations: 119.7 kB / 227.7 MB, free: 10.12 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.008295, allocations: 47.62 kB / 227.8 MB, free: 10.08 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.008335, allocations: 33.69 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.0084, allocations: 326.8 kB / 228.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.008431, allocations: 18.83 kB / 228.2 MB, free: 9.691 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.008467, allocations: 38.55 kB / 228.2 MB, free: 9.645 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.00855, allocations: 84.78 kB / 228.3 MB, free: 9.555 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008552, allocations: 0 / 228.3 MB, free: 9.555 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001017/0.008654, allocations: 96.42 kB / 228.4 MB, free: 9.453 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.008663, allocations: 4 kB / 228.4 MB, free: 9.449 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008667, allocations: 4.062 kB / 228.4 MB, free: 9.445 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.008679, allocations: 4 kB / 228.4 MB, free: 9.441 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.008798, allocations: 35.95 kB / 228.4 MB, free: 9.406 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008803, allocations: 11.92 kB / 228.4 MB, free: 9.395 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.008851, allocations: 15.89 kB / 228.4 MB, free: 9.379 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.00886, allocations: 4 kB / 228.4 MB, free: 9.375 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 5.859e-05/0.008918, allocations: 120.6 kB / 228.6 MB, free: 9.246 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.00894, allocations: 12 kB / 228.6 MB, free: 9.234 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.009112, allocations: 138.3 kB / 228.7 MB, free: 9.094 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009114, allocations: 3.938 kB / 228.7 MB, free: 9.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.009119, allocations: 7.922 kB / 228.7 MB, free: 9.082 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.009122, allocations: 0 / 228.7 MB, free: 9.082 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.009249, allocations: 125.7 kB / 228.8 MB, free: 8.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009251, allocations: 0 / 228.8 MB, free: 8.941 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.009357, allocations: 51.89 kB / 228.9 MB, free: 8.891 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.00937, allocations: 19.84 kB / 228.9 MB, free: 8.871 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009372, allocations: 0 / 228.9 MB, free: 8.871 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.009383, allocations: 7.984 kB / 228.9 MB, free: 8.863 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009385, allocations: 4 kB / 228.9 MB, free: 8.859 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009387, allocations: 3.938 kB / 228.9 MB, free: 8.855 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.009538, allocations: 246.2 kB / 229.2 MB, free: 8.598 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.009553, allocations: 4 kB / 229.2 MB, free: 8.594 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.009611, allocations: 15.92 kB / 229.2 MB, free: 8.578 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.009652, allocations: 19.91 kB / 229.2 MB, free: 8.559 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.009659, allocations: 4 kB / 229.2 MB, free: 8.555 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.009689, allocations: 40.94 kB / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009689, allocations: 0 / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.009836, allocations: 27.95 kB / 229.3 MB, free: 8.484 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 (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.898e-05/0.009935, allocations: 92.41 kB / 229.4 MB, free: 8.387 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.01007, allocations: 80.67 kB / 229.5 MB, free: 8.305 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.01007, allocations: 0 / 229.5 MB, free: 8.305 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.01014, allocations: 69.11 kB / 229.5 MB, free: 8.234 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.01033, allocations: 117.2 kB / 229.6 MB, free: 8.102 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.01113, allocations: 306.8 kB / 229.9 MB, free: 7.777 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.01118, allocations: 75.83 kB / 230 MB, free: 7.684 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.99e-05/0.01126, allocations: 25.14 kB / 230 MB, free: 7.66 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.01137, allocations: 79.27 kB / 230.1 MB, free: 7.582 MB / 234.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01137, allocations: 4 kB / 230.1 MB, free: 7.578 MB / 234.7 MB Notification: Performance of Templates: time 0.01018/0.02155, allocations: 2.108 MB / 232.2 MB, free: 5.473 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.624407068826258]