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.001812/0.001812, allocations: 107 kB / 19.8 MB, free: 2.5 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.002375/0.002375, allocations: 220.5 kB / 23 MB, free: 5.578 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.544/1.544, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.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 0.001873/0.001873, allocations: 63.88 kB / 376.4 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3137, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003376/0.3171, allocations: 1.71 MB / 431.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3187, allocations: 0.7749 MB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.3188, allocations: 4 kB / 432.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.3191, allocations: 59.7 kB / 432.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.3193, allocations: 35.72 kB / 432.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3204, allocations: 0.5206 MB / 432.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.3206, allocations: 119.6 kB / 433 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3208, allocations: 21.55 kB / 433 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3209, allocations: 51.78 kB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.3211, allocations: 95.59 kB / 433.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.3211, allocations: 8 kB / 433.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.3214, allocations: 123.9 kB / 433.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.3215, allocations: 35.84 kB / 433.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.3215, allocations: 63.55 kB / 433.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.3219, allocations: 200.5 kB / 433.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3219, allocations: 4 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3219, allocations: 0 / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3219, allocations: 0 / 433.6 MB, free: 3.711 MB / 334.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.001463/0.3234, allocations: 0.5336 MB / 434.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3234, allocations: 12.03 kB / 434.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006728/0.3241, allocations: 104.7 kB / 434.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3243, allocations: 200.1 kB / 434.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3244, allocations: 4.375 kB / 434.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3244, allocations: 12.38 kB / 434.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.3248, allocations: 165.8 kB / 434.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3248, allocations: 0 / 434.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3249, allocations: 7.984 kB / 434.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.3249, allocations: 11.98 kB / 434.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.3254, allocations: 151.9 kB / 434.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3266, allocations: 0.5548 MB / 435.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.327, allocations: 146.5 kB / 435.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3272, allocations: 64.75 kB / 435.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.3273, allocations: 8 kB / 435.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3273, allocations: 30.56 kB / 435.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/0.3273, allocations: 4 kB / 435.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006772/0.328, allocations: 217.6 kB / 435.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.328, allocations: 51.41 kB / 435.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.3283, allocations: 202.8 kB / 436 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3284, allocations: 29.7 kB / 436.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3285, allocations: 120.2 kB / 436.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.3285, allocations: 35.69 kB / 436.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.3286, allocations: 33.7 kB / 436.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3287, allocations: 322.8 kB / 436.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3289, allocations: 55.95 kB / 436.6 MB, free: 460 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.3291, allocations: 96.19 kB / 436.7 MB, free: 348 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3294, allocations: 156.2 kB / 436.9 MB, free: 176 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3294, allocations: 0 / 436.9 MB, free: 176 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004353/0.3299, allocations: 197.8 kB / 437.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3299, allocations: 11.98 kB / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3299, allocations: 0 / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3299, allocations: 96 / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3301, allocations: 35.86 kB / 437.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3301, allocations: 4 kB / 437.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3302, allocations: 23.83 kB / 437.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3302, allocations: 7.984 kB / 437.1 MB, free: 15.89 MB / 350.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.0001259/0.3304, allocations: 134 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3304, allocations: 19.84 kB / 437.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.3309, allocations: 190.8 kB / 437.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3309, allocations: 0 / 437.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3309, allocations: 4 kB / 437.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3309, allocations: 0 / 437.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.3313, allocations: 253.4 kB / 437.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3313, allocations: 8 kB / 437.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.3314, allocations: 23.98 kB / 437.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3314, allocations: 0 / 437.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3315, allocations: 3.984 kB / 437.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3315, allocations: 0 / 437.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3315, allocations: 0 / 437.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.3319, allocations: 275.2 kB / 438 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3321, allocations: 105 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3321, allocations: 4 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3323, allocations: 4 kB / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.3323, allocations: 7.984 kB / 438.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3323, allocations: 11.98 kB / 438.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.3325, allocations: 152.9 kB / 438.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3325, allocations: 0 / 438.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3328, allocations: 27.95 kB / 438.3 MB, free: 14.59 MB / 350.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.0003802/0.3332, allocations: 107.2 kB / 438.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.3336, allocations: 135.8 kB / 438.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3336, allocations: 256 / 438.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3338, allocations: 67.91 kB / 438.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3341, allocations: 20.36 kB / 438.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.3348, allocations: 333.7 kB / 439 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.3354, allocations: 0.7317 MB / 439.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.3355, allocations: 29.41 kB / 439.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.3356, allocations: 19.42 kB / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3356, allocations: 4 kB / 439.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.005552/0.3411, allocations: 1.666 MB / 441.4 MB, free: 11.43 MB / 350.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.566257355734706]