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.001151/0.001151, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001885/0.001885, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.037/1.037, allocations: 177 MB / 204.8 MB, free: 5.594 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.054e-06/2.054e-06, allocations: 0 / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.871e-05, allocations: 5.266 kB / 272.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002222/0.002251, allocations: 1.748 MB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003255, allocations: 0.7281 MB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.003312, allocations: 4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.003548, allocations: 51.66 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.003714, allocations: 47.64 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.004347, allocations: 485.9 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.004513, allocations: 123.5 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004614, allocations: 17.8 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.004714, allocations: 87.73 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.004935, allocations: 75.78 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.004956, allocations: 8 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.005122, allocations: 115.9 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.005173, allocations: 39.83 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.005214, allocations: 35.84 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.005451, allocations: 187.4 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005453, allocations: 0 / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005454, allocations: 0 / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005459, allocations: 0 / 276.6 MB, free: 13.75 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.0007099/0.006169, allocations: 0.5621 MB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.006201, allocations: 15.98 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.006561, allocations: 108.7 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.006695, allocations: 164.3 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.006704, allocations: 12.38 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.006717, allocations: 8.375 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.006918, allocations: 126.8 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006927, allocations: 192 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.006943, allocations: 8.375 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.006967, allocations: 7.938 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.007078, allocations: 71.89 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.007751, allocations: 499.2 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.007947, allocations: 87.17 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.007995, allocations: 31.67 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.008016, allocations: 4.188 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.008039, allocations: 41.33 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.008041, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002193/0.00826, allocations: 109.5 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.008287, allocations: 51.41 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.008409, allocations: 230.5 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.008421, allocations: 25.7 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.008494, allocations: 182.5 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.008515, allocations: 35.73 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.008559, allocations: 43.31 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.00867, allocations: 0.4923 MB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.008707, allocations: 23.98 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.008766, allocations: 62.42 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.008876, allocations: 102.3 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.008879, allocations: 4 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001487/0.009027, allocations: 113.5 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.009042, allocations: 10.81 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.009046, allocations: 0 / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.009061, allocations: 11.88 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.00915, allocations: 23.98 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.009158, allocations: 7.922 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.009202, allocations: 11.95 kB / 279.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.009212, allocations: 8.125 kB / 279.9 MB, free: 10.25 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 7.084e-05/0.009283, allocations: 160.6 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.009308, allocations: 15.91 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.009474, allocations: 115 kB / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009477, allocations: 11.88 kB / 280.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.009482, allocations: 4 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.009487, allocations: 3.984 kB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.009631, allocations: 176.6 kB / 280.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009632, allocations: 0 / 280.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.009696, allocations: 27.92 kB / 280.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009698, allocations: 4 kB / 280.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.009707, allocations: 0 / 280.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.00971, allocations: 4 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.009712, allocations: 3.938 kB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.009873, allocations: 251.8 kB / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.009909, allocations: 23.88 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.009923, allocations: 4 kB / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.009973, allocations: 7.984 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.01001, allocations: 11.92 kB / 280.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.01002, allocations: 4 kB / 280.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.01009, allocations: 168.8 kB / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01009, allocations: 0 / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.01025, allocations: 27.94 kB / 280.9 MB, free: 9.176 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.0001147/0.01037, allocations: 103.2 kB / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01051, allocations: 71.59 kB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01051, allocations: 4.25 kB / 281 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.01056, allocations: 47.59 kB / 281.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01076, allocations: 12.86 kB / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.01135, allocations: 298.6 kB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.01139, allocations: 71.33 kB / 281.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.01144, allocations: 24.62 kB / 281.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.01148, allocations: 16.5 kB / 281.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01148, allocations: 0 / 281.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of Templates: time 0.003178/0.01466, allocations: 1.586 MB / 283.1 MB, free: 6.91 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.8711573309265077]