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.001583/0.001583, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001692/0.001692, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.556/1.556, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.002088/0.002088, allocations: 67.89 kB / 378.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 53.41 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003267/0.3122, allocations: 1.675 MB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3137, allocations: 0.7087 MB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.3138, allocations: 0 / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.314, allocations: 55.7 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.3142, allocations: 43.73 kB / 434.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3153, allocations: 478.1 kB / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.3156, allocations: 123.6 kB / 434.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3157, allocations: 21.73 kB / 434.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3158, allocations: 59.78 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.3161, allocations: 91.58 kB / 434.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3161, allocations: 8 kB / 434.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.3164, allocations: 115.9 kB / 435 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.3164, allocations: 35.91 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.3165, allocations: 59.53 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.3169, allocations: 201.5 kB / 435.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3169, allocations: 0 / 435.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3169, allocations: 0 / 435.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3169, allocations: 0 / 435.3 MB, free: 2.887 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.001374/0.3183, allocations: 469.3 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3183, allocations: 15.98 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.319, allocations: 108.6 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3193, allocations: 161.3 kB / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3193, allocations: 8.375 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3193, allocations: 12.38 kB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.3197, allocations: 166.6 kB / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3197, allocations: 0 / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3198, allocations: 4 kB / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.3198, allocations: 11.98 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.3202, allocations: 147.9 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.3213, allocations: 472 kB / 436.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.3217, allocations: 134.6 kB / 436.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3219, allocations: 64.81 kB / 437 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3219, allocations: 0 / 437 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3219, allocations: 42.5 kB / 437 MB, free: 1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.3219, allocations: 3.938 kB / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006422/0.3226, allocations: 205.7 kB / 437.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3226, allocations: 59.41 kB / 437.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3228, allocations: 179.2 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3229, allocations: 25.7 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.323, allocations: 131.8 kB / 437.6 MB, free: 372 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.323, allocations: 31.73 kB / 437.7 MB, free: 340 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.3231, allocations: 37.66 kB / 437.7 MB, free: 296 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3232, allocations: 318.8 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3234, allocations: 67.89 kB / 438.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3236, allocations: 88.61 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.324, allocations: 156.1 kB / 438.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.324, allocations: 0 / 438.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004272/0.3244, allocations: 197.4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3244, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3244, allocations: 0 / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3245, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3246, allocations: 35.91 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3246, allocations: 0 / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3248, allocations: 24.06 kB / 438.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3248, allocations: 4 kB / 438.6 MB, free: 15.36 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.0001325/0.3249, allocations: 126.5 kB / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.325, allocations: 19.84 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.3254, allocations: 190.8 kB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3254, allocations: 0 / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3254, allocations: 0 / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3255, allocations: 4 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.3257, allocations: 173.2 kB / 439.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3257, allocations: 0 / 439.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3259, allocations: 23.98 kB / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3259, allocations: 3.938 kB / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3259, allocations: 7.984 kB / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3259, allocations: 0 / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3259, allocations: 0 / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.3263, allocations: 271.3 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.3264, allocations: 23.89 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3264, allocations: 7.938 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3265, allocations: 8 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.3266, allocations: 11.97 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3266, allocations: 8 kB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3267, allocations: 128 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3267, allocations: 3.938 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.327, allocations: 31.92 kB / 439.6 MB, free: 14.28 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.0001548/0.3272, allocations: 107.2 kB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.3276, allocations: 135.8 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3276, allocations: 0 / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.3278, allocations: 63.95 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3281, allocations: 16.48 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.3287, allocations: 337.8 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3289, allocations: 106.8 kB / 440.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.329, allocations: 32.41 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.329, allocations: 23.42 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.329, allocations: 0 / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of Templates: time 0.005556/0.3346, allocations: 1.662 MB / 442.1 MB, free: 11.79 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.568955164402723]