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.0009532/0.0009532, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001079/0.001079, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.59 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.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.852e-05, allocations: 5.266 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002599/0.002628, allocations: 1.733 MB / 274.7 MB, free: 40 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003846, allocations: 0.7319 MB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.003923, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.004186, allocations: 55.64 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.004375, allocations: 39.72 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.005687, allocations: 497.8 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.005914, allocations: 127.5 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.006017, allocations: 13.81 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.006132, allocations: 79.73 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.006327, allocations: 67.84 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.006351, allocations: 12 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.006598, allocations: 115.8 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.006657, allocations: 43.83 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.006708, allocations: 43.84 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.007015, allocations: 183.4 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007019, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.007022, allocations: 3.984 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.007027, allocations: 3.938 kB / 276.7 MB, free: 14.04 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.0009489/0.007976, allocations: 0.5582 MB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.008013, allocations: 11.98 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/0.008623, allocations: 120.7 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.008817, allocations: 160.4 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.008835, allocations: 8.375 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.008856, allocations: 12.31 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.009105, allocations: 122.9 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.009113, allocations: 192 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.00913, allocations: 4.375 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.009159, allocations: 19.92 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.009305, allocations: 67.89 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.01002, allocations: 487.3 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.01026, allocations: 91.11 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.01032, allocations: 27.67 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01034, allocations: 7.984 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.01036, allocations: 41.33 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.01036, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002813/0.01065, allocations: 117.7 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.01068, allocations: 55.39 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.01083, allocations: 226.5 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01084, allocations: 25.7 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.01093, allocations: 186.5 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.01095, allocations: 27.75 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.01101, allocations: 43.31 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01113, allocations: 0.4962 MB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.01119, allocations: 15.98 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.01127, allocations: 74.42 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.0114, allocations: 94.36 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.0114, allocations: 0 / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002047/0.01161, allocations: 113.5 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01162, allocations: 6.969 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01163, allocations: 12.06 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01165, allocations: 7.922 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01177, allocations: 27.98 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01178, allocations: 4 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.01184, allocations: 7.953 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01185, allocations: 4 kB / 279.9 MB, free: 10.55 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 8.865e-05/0.01194, allocations: 168.5 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.01198, allocations: 19.91 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.01219, allocations: 115 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01219, allocations: 7.938 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.0122, allocations: 0 / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.0122, allocations: 4 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.0124, allocations: 172.6 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.0124, allocations: 0 / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.01249, allocations: 23.92 kB / 280.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01249, allocations: 4 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01251, allocations: 4 kB / 280.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.01251, allocations: 7.984 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01252, allocations: 3.938 kB / 280.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.01275, allocations: 251.8 kB / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.0128, allocations: 27.89 kB / 280.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.01282, allocations: 4 kB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.0129, allocations: 4 kB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.01295, allocations: 15.92 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01296, allocations: 3.984 kB / 280.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.01303, allocations: 160.8 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01303, allocations: 0 / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.01322, allocations: 31.94 kB / 280.9 MB, free: 9.469 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.0001241/0.01334, allocations: 103.2 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01349, allocations: 75.58 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01349, allocations: 0 / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.01354, allocations: 39.61 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01378, allocations: 23.92 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.01444, allocations: 290.9 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01448, allocations: 79.33 kB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.477e-05/0.01455, allocations: 28.61 kB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.01459, allocations: 20.48 kB / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01459, allocations: 0 / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of Templates: time 0.003528/0.01812, allocations: 1.574 MB / 283.1 MB, free: 7.203 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.877003634115681]