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.001031/0.001031, 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.001028/0.001028, 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.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.547 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.993e-06/1.993e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.894e-05, allocations: 10.19 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.005726/0.005755, allocations: 1.737 MB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.007087, allocations: 0.7397 MB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.007156, allocations: 4 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.01048, allocations: 47.72 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.01069, allocations: 43.64 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.01154, allocations: 482 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.01177, allocations: 131.5 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.01188, allocations: 21.73 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.012, allocations: 79.75 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.01221, allocations: 75.83 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.01224, allocations: 8 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.01251, allocations: 119.8 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.01258, allocations: 39.83 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.01263, allocations: 31.86 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.01297, allocations: 195.4 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01298, allocations: 0 / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01298, allocations: 3.938 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01299, allocations: 0 / 276.6 MB, free: 13.7 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.001136/0.01412, allocations: 0.5543 MB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.01418, allocations: 15.98 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006653/0.01485, allocations: 116.7 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.01508, allocations: 164.3 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.0151, allocations: 4.375 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.01512, allocations: 8.375 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.01541, allocations: 126.8 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01542, allocations: 192 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.01544, allocations: 8.359 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.01547, allocations: 11.94 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.01564, allocations: 71.89 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.01647, allocations: 487.3 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.01674, allocations: 91.11 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.01681, allocations: 31.67 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.01683, allocations: 4 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.01686, allocations: 33.39 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.01686, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003097/0.01717, allocations: 117.6 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.01721, allocations: 59.34 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.01737, allocations: 222.5 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.01739, allocations: 37.69 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.01748, allocations: 174.5 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.01751, allocations: 35.72 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.01757, allocations: 39.33 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.0177, allocations: 0.4962 MB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.01776, allocations: 19.98 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.01784, allocations: 74.34 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.01798, allocations: 94.38 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01799, allocations: 0 / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002109/0.0182, allocations: 121.5 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01822, allocations: 7.125 kB / 279.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01822, allocations: 0 / 279.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01824, allocations: 12.06 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.01837, allocations: 27.92 kB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01838, allocations: 4 kB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.01845, allocations: 11.95 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01846, allocations: 7.984 kB / 279.9 MB, free: 10.2 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.804e-05/0.01856, allocations: 164.5 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.01861, allocations: 19.84 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.01885, allocations: 115 kB / 280.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.01886, allocations: 3.938 kB / 280.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01886, allocations: 8 kB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01887, allocations: 0 / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01908, allocations: 172.6 kB / 280.3 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01909, allocations: 0 / 280.3 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01919, allocations: 19.98 kB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.0192, allocations: 0 / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01921, allocations: 7.984 kB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01921, allocations: 0 / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01921, allocations: 3.938 kB / 280.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.01944, allocations: 255.7 kB / 280.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.0195, allocations: 23.89 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01952, allocations: 4 kB / 280.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.01961, allocations: 8 kB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01966, allocations: 15.89 kB / 280.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01967, allocations: 4 kB / 280.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.01985, allocations: 164.8 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01985, allocations: 0 / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.02014, allocations: 23.94 kB / 280.9 MB, free: 9.137 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.0001488/0.02029, allocations: 119.2 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.02049, allocations: 67.59 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02049, allocations: 0 / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.02055, allocations: 39.67 kB / 281.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.02087, allocations: 21.11 kB / 281.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.0217, allocations: 302.7 kB / 281.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.02177, allocations: 79.25 kB / 281.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.647e-05/0.02185, allocations: 24.64 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.02191, allocations: 20.48 kB / 281.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.432e-06/0.02191, allocations: 0 / 281.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of Templates: time 0.005177/0.02709, allocations: 1.723 MB / 283.2 MB, free: 6.711 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.839325458742678]