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.001804/0.001804, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001446/0.001446, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.424/1.424, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.473e-06/1.473e-06, allocations: 0 / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.347e-05, allocations: 2.281 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002535/0.002558, allocations: 1.673 MB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003852, allocations: 0.7289 MB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.003904, allocations: 2.594 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.00412, allocations: 47.53 kB / 327.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.004289, allocations: 37.09 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.005324, allocations: 478.2 kB / 327.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.005523, allocations: 130 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.005613, allocations: 16.95 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.005741, allocations: 79.38 kB / 328.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.005942, allocations: 72.78 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.005969, allocations: 13.47 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.006207, allocations: 123.7 kB / 328.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.006276, allocations: 36.02 kB / 328.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.006331, allocations: 36.84 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.006672, allocations: 218.1 kB / 328.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006675, allocations: 0.9688 kB / 328.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006675, allocations: 0 / 328.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.00668, allocations: 0 / 328.6 MB, free: 14.26 MB / 302.1 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.001224/0.007904, allocations: 468.9 kB / 329.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.007936, allocations: 13.02 kB / 329.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000692/0.008628, allocations: 98.7 kB / 329.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.008869, allocations: 168.6 kB / 329.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.008889, allocations: 8.562 kB / 329.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.008914, allocations: 18.69 kB / 329.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.009297, allocations: 160 kB / 329.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.009306, allocations: 192 / 329.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.009325, allocations: 5.438 kB / 329.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.00935, allocations: 14.3 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.009768, allocations: 155.9 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.01072, allocations: 462.9 kB / 330.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.01117, allocations: 133 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.01136, allocations: 65.16 kB / 330.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.01138, allocations: 6.219 kB / 330.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.01141, allocations: 37.53 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.01141, allocations: 0 / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006285/0.01204, allocations: 214.1 kB / 330.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.0121, allocations: 57.58 kB / 330.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.01228, allocations: 179.5 kB / 330.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.01231, allocations: 26.58 kB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01241, allocations: 127.7 kB / 331 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.01245, allocations: 40.14 kB / 331.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01251, allocations: 31.89 kB / 331.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01268, allocations: 326.2 kB / 331.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.01286, allocations: 56.98 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01306, allocations: 94.02 kB / 331.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.01343, allocations: 154.2 kB / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01343, allocations: 0 / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000452/0.01388, allocations: 193.4 kB / 331.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.0139, allocations: 5.906 kB / 331.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.0139, allocations: 5.125 kB / 331.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01392, allocations: 6.062 kB / 331.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.0141, allocations: 26.05 kB / 331.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.01411, allocations: 6.734 kB / 331.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01423, allocations: 18.73 kB / 332 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.01424, allocations: 3.594 kB / 332 MB, free: 11.91 MB / 302.1 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 0.0001302/0.01437, allocations: 132 kB / 332.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.01441, allocations: 9.984 kB / 332.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.01488, allocations: 192.3 kB / 332.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.01489, allocations: 5.344 kB / 332.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.0149, allocations: 0 / 332.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.0149, allocations: 5.125 kB / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.01514, allocations: 167 kB / 332.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01514, allocations: 7.938 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.0153, allocations: 21.98 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.0153, allocations: 1.219 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01532, allocations: 5.172 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01532, allocations: 1 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01532, allocations: 3.938 kB / 332.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.01579, allocations: 256.6 kB / 332.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.01585, allocations: 24.48 kB / 332.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.01588, allocations: 5.125 kB / 332.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.01602, allocations: 16.09 kB / 332.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.01606, allocations: 11.11 kB / 332.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01607, allocations: 7.547 kB / 332.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.01619, allocations: 132.8 kB / 332.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01619, allocations: 1.438 kB / 332.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.01647, allocations: 32.27 kB / 333 MB, free: 11.12 MB / 302.1 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.0001649/0.01663, allocations: 117.2 kB / 333.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.01706, allocations: 135.3 kB / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01706, allocations: 0 / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.01724, allocations: 66.86 kB / 333.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01752, allocations: 15.08 kB / 333.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.01817, allocations: 317.5 kB / 333.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.01829, allocations: 112.8 kB / 333.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.461e-05/0.01839, allocations: 29.19 kB / 333.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.01845, allocations: 19.17 kB / 333.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.01845, allocations: 1.188 kB / 333.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Templates: time 0.004905/0.02335, allocations: 1.555 MB / 335.3 MB, free: 9.773 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1178443767130375]