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.0009828/0.0009828, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001183/0.001183, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.998/0.998, allocations: 177 MB / 205.2 MB, free: 5.047 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.956e-06/2.956e-06, allocations: 4 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.649e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002057/0.002073, allocations: 1.766 MB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003122, allocations: 0.7513 MB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.003173, allocations: 0 / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.003406, allocations: 63.58 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.003552, allocations: 31.72 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.004194, allocations: 485.8 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.004385, allocations: 127.5 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.004469, allocations: 26.38 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.004563, allocations: 79.75 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.004745, allocations: 79.77 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.004766, allocations: 12 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.004948, allocations: 115.9 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.004999, allocations: 47.83 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.005035, allocations: 27.92 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.005304, allocations: 187.3 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005307, allocations: 4 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005308, allocations: 0 / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.005313, allocations: 0 / 277.2 MB, free: 13.24 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.0007161/0.00603, allocations: 439.9 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.006064, allocations: 11.98 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.006456, allocations: 116.8 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.006598, allocations: 145.5 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.006613, allocations: 12.38 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.006625, allocations: 8.375 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.006826, allocations: 121.7 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006837, allocations: 192 / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.006853, allocations: 4.375 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.006878, allocations: 11.94 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.006986, allocations: 51.84 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.007466, allocations: 326.6 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.007616, allocations: 126.9 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.007647, allocations: 23.67 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.007666, allocations: 7.984 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.007684, allocations: 34.75 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.007686, allocations: 0 / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001492/0.007835, allocations: 85.55 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.007871, allocations: 55.34 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.007967, allocations: 167.2 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.007982, allocations: 29.7 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.008044, allocations: 123.8 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.008065, allocations: 31.73 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.008121, allocations: 33.66 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.008293, allocations: 322.8 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.008324, allocations: 18.81 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.008365, allocations: 48.27 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.008443, allocations: 79.02 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.008445, allocations: 0 / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001144/0.00856, allocations: 96.36 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.008573, allocations: 4 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008578, allocations: 128 / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.008592, allocations: 8 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.008683, allocations: 27.92 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.008694, allocations: 7.938 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.008736, allocations: 11.94 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.008746, allocations: 8 kB / 279.7 MB, free: 10.5 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.718e-05/0.008813, allocations: 124.5 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.008834, allocations: 7.984 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.008956, allocations: 98.98 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008958, allocations: 0 / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.008962, allocations: 7.938 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.008965, allocations: 0 / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.009083, allocations: 105.8 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009084, allocations: 0 / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.009148, allocations: 19.98 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.00915, allocations: 0 / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.009157, allocations: 7.938 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.00916, allocations: 7.984 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009162, allocations: 0 / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.00928, allocations: 218.2 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.00931, allocations: 19.89 kB / 280.3 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.009322, allocations: 4 kB / 280.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.00937, allocations: 8 kB / 280.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.009401, allocations: 7.922 kB / 280.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.009407, allocations: 4 kB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.009439, allocations: 46.44 kB / 280.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009439, allocations: 0 / 280.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.00958, allocations: 31.88 kB / 280.4 MB, free: 9.738 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 9.189e-05/0.009672, allocations: 92.34 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.009769, allocations: 56.77 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.009772, allocations: 0 / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.009806, allocations: 32.78 kB / 280.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.009963, allocations: 19.98 kB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.01046, allocations: 294.9 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.0105, allocations: 71.33 kB / 281 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.01055, allocations: 24.41 kB / 281 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.01062, allocations: 75.38 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01062, allocations: 0 / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of Templates: time 0.003186/0.01381, allocations: 1.705 MB / 282.8 MB, free: 7.34 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 -s gbode -gbm=radauIIA3 -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.4992058160714805]