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.001854/0.001854, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 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.002241/0.002241, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.406/1.406, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001814/0.001814, allocations: 59.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09339, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002905/0.09629, allocations: 1.714 MB / 429.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.09763, allocations: 0.7672 MB / 430.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.09768, allocations: 4 kB / 430.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.09793, allocations: 59.7 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.09809, allocations: 35.73 kB / 430.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.09909, allocations: 0.5019 MB / 430.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.0993, allocations: 119.6 kB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.0994, allocations: 29.53 kB / 431 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.0995, allocations: 55.78 kB / 431.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.0997, allocations: 91.59 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.09973, allocations: 8 kB / 431.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.09997, allocations: 123.9 kB / 431.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.1, allocations: 39.83 kB / 431.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.1001, allocations: 55.61 kB / 431.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.1004, allocations: 207.2 kB / 431.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1004, allocations: 0 / 431.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1004, allocations: 4 kB / 431.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1004, allocations: 7.938 kB / 431.6 MB, free: 0.6758 MB / 350.1 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.001277/0.1017, allocations: 0.5258 MB / 432.1 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1017, allocations: 8.031 kB / 432.2 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006893/0.1024, allocations: 108.8 kB / 432.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1026, allocations: 196.1 kB / 432.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1026, allocations: 12.31 kB / 432.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1026, allocations: 8.375 kB / 432.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.103, allocations: 161.8 kB / 432.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.103, allocations: 0 / 432.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1031, allocations: 4 kB / 432.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.1031, allocations: 12 kB / 432.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.1035, allocations: 155.9 kB / 432.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1045, allocations: 0.5588 MB / 433.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1049, allocations: 142.6 kB / 433.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1051, allocations: 64.75 kB / 433.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1052, allocations: 7.938 kB / 433.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1052, allocations: 34.56 kB / 433.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1052, allocations: 0 / 433.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006341/0.1058, allocations: 213.6 kB / 433.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1059, allocations: 55.41 kB / 433.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1061, allocations: 214.7 kB / 434.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1061, allocations: 25.7 kB / 434.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.1062, allocations: 120.3 kB / 434.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1062, allocations: 35.69 kB / 434.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.1063, allocations: 37.64 kB / 434.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1064, allocations: 322.8 kB / 434.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1066, allocations: 63.89 kB / 434.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1068, allocations: 88.25 kB / 434.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.1072, allocations: 156.2 kB / 434.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1072, allocations: 0 / 434.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004497/0.1076, allocations: 201.4 kB / 435.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1076, allocations: 8 kB / 435.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1076, allocations: 480 / 435.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1077, allocations: 4 kB / 435.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1078, allocations: 31.91 kB / 435.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1078, allocations: 4 kB / 435.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.108, allocations: 19.89 kB / 435.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.108, allocations: 11.92 kB / 435.2 MB, free: 12.86 MB / 366.1 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 0.0001177/0.1081, allocations: 137.8 kB / 435.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.1082, allocations: 23.8 kB / 435.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.1086, allocations: 171 kB / 435.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1086, allocations: 4 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1086, allocations: 0 / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1087, allocations: 7.922 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.1089, allocations: 249.5 kB / 435.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1089, allocations: 0 / 435.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1091, allocations: 31.97 kB / 435.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1091, allocations: 0 / 435.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1091, allocations: 0 / 435.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1091, allocations: 7.938 kB / 435.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1091, allocations: 0 / 435.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.1096, allocations: 263.3 kB / 436.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.1097, allocations: 105 kB / 436.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1097, allocations: 0 / 436.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1098, allocations: 15.92 kB / 436.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1099, allocations: 7.984 kB / 436.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1099, allocations: 4 kB / 436.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.11, allocations: 160.8 kB / 436.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.11, allocations: 0 / 436.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1103, allocations: 35.89 kB / 436.4 MB, free: 11.55 MB / 366.1 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.0001387/0.1105, allocations: 103.2 kB / 436.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.1109, allocations: 131.8 kB / 436.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1109, allocations: 0 / 436.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.1111, allocations: 68.2 kB / 436.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1114, allocations: 26.84 kB / 436.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.112, allocations: 347.6 kB / 437 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1124, allocations: 0.7279 MB / 437.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.1124, allocations: 15.44 kB / 437.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1124, allocations: 0 / 437.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of Templates: time 0.003932/0.1164, allocations: 2.035 MB / 439.8 MB, free: 8.055 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.007086175028235]