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.000905/0.000905, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009188/0.0009188, allocations: 164.9 kB / 24.91 MB, free: 8.766 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 0.961/0.961, allocations: 177 MB / 205.2 MB, free: 5.453 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 2.324e-06/2.324e-06, allocations: 0 / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.28e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002853/0.002885, allocations: 1.73 MB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004245, allocations: 0.7513 MB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.004315, allocations: 4 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.004629, allocations: 55.64 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.004859, allocations: 43.66 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009565/0.005815, allocations: 481.9 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.006047, allocations: 127.5 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.006158, allocations: 26.38 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.0063, allocations: 79.81 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.006541, allocations: 79.77 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.006562, allocations: 12 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.006728, allocations: 119.8 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.00678, allocations: 31.84 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.006818, allocations: 39.84 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.007048, allocations: 187.4 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.00705, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007052, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.007056, allocations: 0 / 277.1 MB, free: 13.5 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.000728/0.007784, allocations: 439.9 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.007833, allocations: 19.97 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.008221, allocations: 108.8 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.008382, allocations: 145.5 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.008397, allocations: 8.375 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.008414, allocations: 12.38 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.008605, allocations: 121.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.008613, allocations: 4.125 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.008625, allocations: 8.359 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.00865, allocations: 11.94 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.008723, allocations: 43.91 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.009311, allocations: 330.6 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.009479, allocations: 119.1 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.009514, allocations: 31.61 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.009533, allocations: 4 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.009552, allocations: 30.56 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.009553, allocations: 0 / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001594/0.009713, allocations: 81.61 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.009748, allocations: 63.33 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.009836, allocations: 155.3 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.009849, allocations: 29.7 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.009902, allocations: 127.8 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.009921, allocations: 31.73 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.009962, allocations: 41.64 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.01004, allocations: 318.8 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.01007, allocations: 14.83 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.01012, allocations: 48.27 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.0102, allocations: 82.95 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0102, allocations: 4 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.968e-05/0.0103, allocations: 96.3 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01032, allocations: 4 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01032, allocations: 4 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.01033, allocations: 0 / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.01042, allocations: 27.98 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01042, allocations: 7.938 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.01046, allocations: 11.94 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.01047, allocations: 4 kB / 279.6 MB, free: 10.76 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 6.846e-05/0.01054, allocations: 128.7 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.01056, allocations: 11.98 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.01067, allocations: 87.11 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01067, allocations: 0 / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01068, allocations: 3.938 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01068, allocations: 3.984 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.01079, allocations: 105.8 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01079, allocations: 3.938 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.01085, allocations: 23.98 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.01085, allocations: 4 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.01086, allocations: 4 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.01086, allocations: 0 / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01086, allocations: 0 / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.011, allocations: 230.2 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.01103, allocations: 15.89 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.01105, allocations: 4 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.01109, allocations: 4 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.01114, allocations: 11.92 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01114, allocations: 4 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.01117, allocations: 42.45 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01117, allocations: 4 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.01132, allocations: 27.88 kB / 280.3 MB, free: 10 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.000116/0.01143, allocations: 88.41 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01154, allocations: 56.95 kB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.01154, allocations: 8 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.01158, allocations: 32.78 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.01175, allocations: 15.98 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.0123, allocations: 298.5 kB / 280.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.01234, allocations: 75.34 kB / 280.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.661e-05/0.01239, allocations: 16.64 kB / 280.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.01246, allocations: 67.36 kB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01246, allocations: 0 / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of Templates: time 0.003374/0.01584, allocations: 1.711 MB / 282.7 MB, free: 7.609 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.512944325339049]