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.001169/0.001169, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001352/0.001352, allocations: 161.5 kB / 24.82 MB, free: 8.875 MB / 18.57 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.051/1.051, allocations: 177 MB / 205.1 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.814e-06/1.814e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.676e-05, allocations: 5.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002867/0.002894, allocations: 1.737 MB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004214, allocations: 0.732 MB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.004305, allocations: 4 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.00459, allocations: 47.61 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.004806, allocations: 43.7 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.005686, allocations: 473.9 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.005922, allocations: 131.5 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.00602, allocations: 25.73 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006153, allocations: 79.73 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.006388, allocations: 79.78 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.006413, allocations: 8 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.006664, allocations: 119.8 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.006728, allocations: 35.84 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.006775, allocations: 31.91 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.007068, allocations: 191.4 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007071, allocations: 0 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007073, allocations: 0 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.007077, allocations: 4 kB / 277 MB, free: 13.49 MB / 266.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.0008191/0.007897, allocations: 0.5465 MB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.007939, allocations: 15.98 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.008361, allocations: 116.7 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.008516, allocations: 160.3 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.008529, allocations: 4.375 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.008547, allocations: 16.36 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.008742, allocations: 118.9 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.008748, allocations: 192 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.008761, allocations: 4.375 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.008787, allocations: 7.938 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.008868, allocations: 59.83 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.009467, allocations: 459.8 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.009641, allocations: 79.16 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.009677, allocations: 27.67 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.009704, allocations: 8.125 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.00973, allocations: 37.38 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.009732, allocations: 0 / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002/0.009932, allocations: 97.56 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.009964, allocations: 59.34 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.01008, allocations: 226.5 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.0101, allocations: 29.7 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.01018, allocations: 174.5 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.0102, allocations: 35.72 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.01025, allocations: 47.3 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01038, allocations: 0.4962 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.01041, allocations: 12 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.01046, allocations: 66.39 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.01056, allocations: 86.31 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01056, allocations: 0 / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001405/0.0107, allocations: 113.5 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01071, allocations: 7.125 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01072, allocations: 0 / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.01073, allocations: 4 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.01083, allocations: 27.92 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01083, allocations: 8.062 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.01088, allocations: 15.95 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.0109, allocations: 11.98 kB / 280.1 MB, free: 10.11 MB / 266.7 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 9.517e-05/0.01099, allocations: 164.5 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.01102, allocations: 19.89 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.01118, allocations: 107 kB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01119, allocations: 0 / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01119, allocations: 3.938 kB / 280.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.01119, allocations: 0 / 280.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01134, allocations: 145.2 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01134, allocations: 4 kB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.01142, allocations: 23.98 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01142, allocations: 0 / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01143, allocations: 7.984 kB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01143, allocations: 0 / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01143, allocations: 0 / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.0116, allocations: 251.7 kB / 280.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.01164, allocations: 23.89 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.01165, allocations: 4 kB / 280.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.01171, allocations: 4 kB / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.01174, allocations: 11.97 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.01175, allocations: 4 kB / 280.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.01182, allocations: 168.7 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 4 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01201, allocations: 27.94 kB / 281.1 MB, free: 9.098 MB / 266.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 (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.0001314/0.01214, allocations: 103.2 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.01227, allocations: 67.52 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01227, allocations: 0 / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.01231, allocations: 39.61 kB / 281.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01254, allocations: 19.42 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.0131, allocations: 294.9 kB / 281.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01315, allocations: 79.25 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.0132, allocations: 8.656 kB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.01328, allocations: 94.19 kB / 281.8 MB, free: 8.34 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01328, allocations: 0 / 281.8 MB, free: 8.34 MB / 266.7 MB Notification: Performance of Templates: time 0.003844/0.01712, allocations: 1.731 MB / 283.5 MB, free: 6.633 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.694668258074671]