Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001299/0.001299, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001518/0.001518, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.88/0.88, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 4 kB / 273.4 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.072e-05, allocations: 2.312 kB / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001945/0.001965, allocations: 1.722 MB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000937/0.002902, allocations: 0.7551 MB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.002953, allocations: 4 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.003154, allocations: 51.66 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.003304, allocations: 39.7 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.00393, allocations: 493.8 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.004094, allocations: 119.5 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.004168, allocations: 26.39 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.004258, allocations: 75.8 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.004429, allocations: 75.78 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.004448, allocations: 19.94 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.004617, allocations: 119.8 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.004664, allocations: 39.83 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.004698, allocations: 31.91 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.004908, allocations: 191.4 kB / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00491, allocations: 0 / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004911, allocations: 0 / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.004913, allocations: 0 / 277.2 MB, free: 13.59 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.0006149/0.005528, allocations: 435.9 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.005556, allocations: 8.031 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.005916, allocations: 116.8 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.006039, allocations: 143.9 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.006051, allocations: 8.375 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.00607, allocations: 20.36 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.00623, allocations: 113.7 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.006236, allocations: 4.188 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.006247, allocations: 4.375 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.006269, allocations: 15.92 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.006467, allocations: 43.92 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.006909, allocations: 334.6 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.007056, allocations: 126.9 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.007086, allocations: 23.69 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.007103, allocations: 4 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.00712, allocations: 34.56 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007121, allocations: 0 / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001384/0.00726, allocations: 81.78 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.007288, allocations: 59.34 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.007373, allocations: 163.3 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.007385, allocations: 25.7 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.007431, allocations: 127.8 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.007448, allocations: 31.69 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.007488, allocations: 33.64 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.007553, allocations: 330.8 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.007578, allocations: 14.83 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.007619, allocations: 48.28 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.00769, allocations: 71.02 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007693, allocations: 4 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001015/0.007794, allocations: 92.86 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.007805, allocations: 8 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00781, allocations: 4 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.007819, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.007905, allocations: 31.91 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007909, allocations: 7.938 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.007952, allocations: 11.95 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.007959, allocations: 4 kB / 279.7 MB, free: 10.86 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.035e-05/0.00802, allocations: 124.5 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.00804, allocations: 7.984 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.008154, allocations: 103 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008156, allocations: 0 / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008158, allocations: 3.938 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.00816, allocations: 0 / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.008278, allocations: 105.8 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.008279, allocations: 0 / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.008339, allocations: 19.98 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.008341, allocations: 0 / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.008348, allocations: 3.984 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.00835, allocations: 4 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008351, allocations: 11.94 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.008469, allocations: 222.2 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.008499, allocations: 15.89 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.008514, allocations: 11.94 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.008561, allocations: 0 / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.008588, allocations: 7.984 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.008596, allocations: 7.984 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.008626, allocations: 42.45 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008626, allocations: 0 / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000154/0.00878, allocations: 35.86 kB / 280.4 MB, free: 10.09 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 8.852e-05/0.008869, allocations: 88.36 kB / 280.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.008965, allocations: 64.78 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.008969, allocations: 0 / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.009002, allocations: 28.84 kB / 280.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.009144, allocations: 20.25 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.009612, allocations: 298.5 kB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.009665, allocations: 75.34 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.009711, allocations: 12.66 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.009781, allocations: 75.3 kB / 281 MB, free: 9.375 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009782, allocations: 0 / 281 MB, free: 9.375 MB / 266.7 MB Notification: Performance of Templates: time 0.00311/0.01289, allocations: 1.708 MB / 282.8 MB, free: 7.688 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.523189128842205]