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.001059/0.001059, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002615, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009908/0.0009908, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002284, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9799/0.9799, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.099, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.673e-06/1.673e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.598e-05, allocations: 10.25 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003369/0.003395, allocations: 1.774 MB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004845, allocations: 0.7513 MB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.616e-05/0.004941, allocations: 8 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.005196, allocations: 59.58 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.00538, allocations: 43.64 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.006434, allocations: 489.8 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.006692, allocations: 127.5 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.006794, allocations: 14.47 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.006975, allocations: 91.8 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.00723, allocations: 79.78 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.007261, allocations: 8 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.007598, allocations: 123.8 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.00766, allocations: 31.86 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.007708, allocations: 27.88 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.008051, allocations: 167.4 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.008061, allocations: 0 / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.008064, allocations: 8 kB / 249 MB, free: 9.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.008079, allocations: 0 / 249 MB, free: 9.77 MB / 250.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.001138/0.009217, allocations: 0.5202 MB / 249.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.009256, allocations: 8.625 kB / 249.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.009928, allocations: 120.7 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.01012, allocations: 153.3 kB / 249.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.01014, allocations: 4.375 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.01017, allocations: 12.38 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.01042, allocations: 121.7 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01043, allocations: 192 / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.01044, allocations: 4.375 kB / 249.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.01047, allocations: 11.92 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.01059, allocations: 39.98 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.01129, allocations: 334.6 kB / 250.3 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.01153, allocations: 130.9 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.01158, allocations: 23.69 kB / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.0116, allocations: 7.984 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.01163, allocations: 30.56 kB / 250.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.01163, allocations: 0 / 250.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002166/0.01185, allocations: 85.78 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.01188, allocations: 59.34 kB / 250.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01201, allocations: 163.3 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01203, allocations: 25.7 kB / 250.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.01209, allocations: 131.7 kB / 250.9 MB, free: 7.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.01212, allocations: 27.75 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.01218, allocations: 41.64 kB / 251 MB, free: 7.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.01227, allocations: 318.8 kB / 251.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.01231, allocations: 18.81 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.01237, allocations: 48.27 kB / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.01248, allocations: 83.02 kB / 251.4 MB, free: 7.074 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01249, allocations: 0 / 251.4 MB, free: 7.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001708/0.01266, allocations: 92.73 kB / 251.5 MB, free: 6.977 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01268, allocations: 4 kB / 251.5 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01268, allocations: 0 / 251.5 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.0127, allocations: 4 kB / 251.5 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01286, allocations: 35.92 kB / 251.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.01287, allocations: 7.922 kB / 251.6 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.01295, allocations: 12.12 kB / 251.6 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01296, allocations: 0 / 251.6 MB, free: 6.914 MB / 250.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.371e-05/0.01304, allocations: 120.6 kB / 251.7 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.01308, allocations: 15.98 kB / 251.7 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.01327, allocations: 94.94 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.01327, allocations: 4 kB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01328, allocations: 3.938 kB / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01328, allocations: 0 / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01346, allocations: 101.8 kB / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01347, allocations: 8 kB / 251.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01359, allocations: 27.97 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.01364, allocations: 15.91 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01365, allocations: 0 / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01366, allocations: 0 / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01366, allocations: 7.938 kB / 252 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01366, allocations: 0 / 252 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.01394, allocations: 222.2 kB / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01396, allocations: 0 / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.01406, allocations: 12 kB / 252.2 MB, free: 6.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.0141, allocations: 11.91 kB / 252.2 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.01411, allocations: 8 kB / 252.2 MB, free: 6.227 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.01416, allocations: 46.44 kB / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01416, allocations: 0 / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.01441, allocations: 27.88 kB / 252.3 MB, free: 6.152 MB / 250.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.0001542/0.01457, allocations: 88.36 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01472, allocations: 64.78 kB / 252.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.01473, allocations: 8 kB / 252.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.0148, allocations: 36.78 kB / 252.5 MB, free: 5.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.01509, allocations: 135.3 kB / 252.6 MB, free: 5.785 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.01646, allocations: 314.8 kB / 252.9 MB, free: 5.445 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.01651, allocations: 71.33 kB / 253 MB, free: 5.355 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.01658, allocations: 20.41 kB / 253 MB, free: 5.336 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.01669, allocations: 67.38 kB / 253.1 MB, free: 5.27 MB / 250.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01669, allocations: 0 / 253.1 MB, free: 5.27 MB / 250.7 MB Notification: Performance of Templates: time 0.004477/0.02117, allocations: 1.664 MB / 254.8 MB, free: 3.621 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.411788772791624]